Skip to content

redhat-na-ssa/demo-ai-devspaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Dev Spaces for AI / ML

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.

Installation

Prerequisites

  • Red Hat OpenShift Cluster 4.10+
  • Cluster admin permissions

The following cli tools are required:

  • bash, git
  • oc - Download mac, linux, windows
  • kubectl (optional) - Included in oc bundle
  • kustomize (optional) - Download mac, linux

NOTE: bash, git, and oc are available in the OpenShift Web Terminal

From a 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]

Uninstall

# WARNING: Be certain you want your cluster returned to a vanilla state
. ./scripts/bootstrap.sh

delete_demo

Quickstart

  • Launch DevSpaces from the waffle menu on the OCP Web Console

Note

This may take 5+ mins post bootstrap setup

DevSpaces Waffle

  • Create & Open DevSpaces with the current repo

DevSpaces Example

  • Click the Events submenu to watch progress

Note

This may take 12+ mins

DevSpaces Example

Additional Resources

OpenShift Dev Spaces

Data Science Examples

Other Examples

About

Using OpenShift Dev Spaces for AI workload development

Resources

License

Stars

Watchers

Forks

Languages