Skip to content

Commit

Permalink
Updates to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tnscorcoran committed Jun 19, 2024
1 parent bec4737 commit c96542b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/hackathon/scenario2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ You'll know this is complete using the following command
oc get node -l nvidia.com/gpu.present
```


Documentation you may find helpful is:
-


## 2.3 - Check your work
Expand Down
42 changes: 39 additions & 3 deletions data/hackathon/scenario4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,55 @@ As the pre-sales team, you've offered to show how this is done.

## 4.1 - Review notebook requiring custom Python library with in an existing workbench
Fire up an OpenShift AI workbench, using the `Standard Data Science` base image and launch/run the Notebook https://github.com/odh-labs/hackathon/blob/main/temp/scenario4_open_innovation/custom-image.ipynb
You see it fails due to missing mibrary pypdf
You see it fails due to missing library pypdf


## 4.2 - Build custom workbench image
Your first task after reviewing the failing scenario to build a custom image and deploy it as am Image Stream into the cluster (it should go in the redhat-ods-applications)
Your first task after reviewing the failing scenario to build a custom workbench image on the ACME Financial Services On Premises cluster via a `BuildConfig`.

You have 2 options
1) Use a Build Config and push the image as an Image Stream into the redhat-ods-applications namespace
2) Use Podman to build a container locally and push to Internal OpenShift Container Registry

Your custom image name should be `acme-workbench-ai-custom`

Documentation you may find helpful is:
- https://github.com/red-hat-data-services/notebooks
- https://docs.openshift.com/container-platform/4.15/cicd/builds/understanding-buildconfigs.html
- https://github.com/opendatahub-io-contrib/workbench-images


## 4.3 - Ensure Image is present in the Internal OpenShift Container Registry
After building an image, you'll need to ensure the image is present in the Internal OpenShift Container Registry.

Documentation you may find helpful is:
- https://docs.openshift.com/container-platform/4.15/registry/index.html
- https://docs.openshift.com/container-platform/4.15/openshift_images/image-streams-manage.html

TODO Add screenshots

## 4.4 - Verify image is imported into OpenShift AI
Your newly imported image should be visible in the `Image selection` dropdown within the Workbench tab inside your OpenShift AI

TODO Add screenshots

## 4.5 - Check your work
If your ACME Financial Services custom image `acme-workbench-ai-custom` is available in the dropdownplease post a screenshot of it to #event-anz-ai-hackathon with the message:

Please review [team name] solution for exercise 4.

This exercise is worth 25 points. The event team will reply in slack to confirm your updated team total score.


TODO PULL all Check your work sections from https://github.com/jmhbnz/workshops/blob/main/data/workshop/scenario1.mdx


HINTS
[4.2] SOlution to
[4.2.1] TODO - move the contents of this repo to the final github location:
Solution via Helm Chart is available here: https://github.com/butler54/rhoai-custom-image

TODO - MOVE TO DOCS:
oc project redhat-ods-applications
helm install myimage ./helm


0 comments on commit c96542b

Please sign in to comment.