Skip to content

Commit d8ecc0a

Browse files
committed
Update RHOAI manifests to include universal workbench image configuration
Signed-off-by: kramaranya <kramaranya15@gmail.com>
1 parent 9212662 commit d8ecc0a

3 files changed

Lines changed: 51 additions & 0 deletions

File tree

manifests/rhoai/kustomization.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ replacements:
2626
name: kubeflow-trainer-controller-manager
2727
fieldPaths:
2828
- spec.template.spec.containers.0.image
29+
- source:
30+
kind: ConfigMap
31+
name: rhoai-config
32+
version: v1
33+
fieldPath: data.odh-kubeflow-trainer-universal-workbench-image
34+
targets:
35+
- select:
36+
group: image.openshift.io
37+
version: v1
38+
kind: ImageStream
39+
name: training-hub-universal-cuda
40+
fieldPaths:
41+
- spec.tags.0.from.name
2942

3043
# Labels to add to all resources and selectors.
3144
labels:
@@ -41,6 +54,7 @@ resources:
4154
- ../base/webhook
4255
# - ../third-party/jobset #uncomment if jobset should be bundled under kubeflow trainer controller manager
4356
- runtimes
57+
- training-hub-universal-cuda-imagestream.yaml
4458
- kubeflow-training-roles.yaml
4559
- monitor.yaml
4660

manifests/rhoai/params.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
odh-kubeflow-trainer-controller-image=quay.io/opendatahub/trainer:v2.1.0
2+
odh-kubeflow-trainer-universal-workbench-image=quay.io/mstoklus/training-image:runtime-image-training-hub30
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
apiVersion: image.openshift.io/v1
2+
kind: ImageStream
3+
metadata:
4+
name: training-hub-universal-cuda
5+
labels:
6+
opendatahub.io/notebook-image: "true"
7+
annotations:
8+
opendatahub.io/notebook-image-url: "https://github.com/opendatahub-io/trainer"
9+
opendatahub.io/notebook-image-name: "Training Hub Universal (CUDA, Python 3.12)"
10+
opendatahub.io/notebook-image-desc: "Universal Training Hub workbench image for CUDA-based fine-tuning and distributed training."
11+
opendatahub.io/notebook-image-order: "1"
12+
opendatahub.io/recommended-accelerators: '["nvidia.com/gpu"]'
13+
spec:
14+
lookupPolicy:
15+
local: true
16+
tags:
17+
- name: latest
18+
annotations:
19+
opendatahub.io/notebook-software: |
20+
[
21+
{"name": "CUDA", "version": "12.6"},
22+
{"name": "Python", "version": "v3.12"},
23+
{"name": "Training Hub", "version": "v0.3.0"}
24+
]
25+
opendatahub.io/notebook-python-dependencies: |
26+
[
27+
{"name": "JupyterLab", "version": "4.4"}
28+
]
29+
openshift.io/imported-from: quay.io/mstoklus/training-image
30+
from:
31+
kind: DockerImage
32+
name: odh-kubeflow-trainer-universal-workbench-image
33+
importPolicy:
34+
importMode: Legacy
35+
referencePolicy:
36+
type: Source

0 commit comments

Comments
 (0)