This repo demos helps show the value of OpenShift and OpenShift Dev Spaces as a platform for developing and deploying AI / ML workloads in a hybrid cloud.
- Red Hat OpenShift Cluster 4.10+
- Cluster admin permissions
The following cli tools are required:
bash
,git
oc
- Download mac, linux, windowskubectl
(optional) - Included inoc
bundlekustomize
(optional) - Download mac, linux
NOTE: bash
, git
, and oc
are available in the OpenShift Web Terminal
# start in a bash shell
# (this means you mac users; zsh)
bash
# oc login to your cluster
# oc login --token=<yours> --server=https://<yours>
oc whoami
# git clone demo
git clone https://github.com/redhat-na-ssa/demo-ai-devspaces.git
cd demo-ai-devspaces
# run setup script
./scripts/bootstrap.sh
# expected results
# Running: oc apply -k gitops
# again...
# again...
# [OK]
# WARNING: Be certain you want your cluster returned to a vanilla state
. ./scripts/bootstrap.sh
delete_demo
- Launch DevSpaces from the waffle menu on the OCP Web Console
Note
This may take 5+ mins post bootstrap setup
Create & Open
DevSpaces with the current repo
- Click the
Events
submenu to watch progress
Note
This may take 12+ mins
OpenShift Dev Spaces
- OpenShift Dev Spaces - Overview
- OpenShift Dev Spaces - Getting Started
- OpenShift Dev Spaces - Video Overview (20m)
- OpenShift Dev Spaces - Official Docs
- Configure Dev Spaces with Auth
Data Science Examples
- Data Science Example - Fingerprint Prediction
- Data Science Example - Computer Vision
- Data Science Example - Keras GPT2 NLP
Other Examples