Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ImageStream objects for the runtime images #888

Open
wants to merge 1 commit into
base: refactor/konflux-migration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ resources:
- jupyter-rocm-minimal-notebook-imagestream.yaml
- jupyter-rocm-pytorch-notebook-imagestream.yaml
- jupyter-rocm-tensorflow-notebook-imagestream.yaml
- runtime-datascience-imagestream.yaml
- runtime-minimal-imagestream.yaml
- runtime-pytorch-imagestream.yaml
- runtime-rocm-pytorch-imagestream.yaml
- runtime-rocm-tensorflow-imagestream.yaml
- runtime-tensorflow-imagestream.yaml

commonLabels:
opendatahub.io/component: "true"
Expand Down
40 changes: 40 additions & 0 deletions manifests/base/runtime-datascience-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "Datascience with Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "Datascience runtime image for Elyra, enabling pipeline execution from Workbenches with a set of advanced AI/ML data science libraries, supporting different runtimes for various pipeline nodes."
name: runtime-datascience
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "Datascience with Python 3.11 (UBI9)",
"metadata": {
"tags": [
"datascience"
],
"display_name": "Datascience with Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:304d3b2ea846832f27312ef6776064a1bf3797c645b6fea0b292a7ef6416458e",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:304d3b2ea846832f27312ef6776064a1bf3797c645b6fea0b292a7ef6416458e
name: "datascience"
referencePolicy:
type: Source
40 changes: 40 additions & 0 deletions manifests/base/runtime-minimal-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "Minimal runtime image for Elyra, enabling pipeline execution from Workbenches with minimal dependency set to start experimenting with, for various pipeline nodes."
name: runtime-minimal
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "Python 3.11 (UBI9)",
"metadata": {
"tags": [
"minimal"
],
"display_name": "Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:a2b1bf59f25fd0694394ad927e5eba93e32df9c2c11d8b54412564a9fc736ab8",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:a2b1bf59f25fd0694394ad927e5eba93e32df9c2c11d8b54412564a9fc736ab8
name: "minimal"
referencePolicy:
type: Source
40 changes: 40 additions & 0 deletions manifests/base/runtime-pytorch-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "Pytorch with CUDA and Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "PyTorch runtime image for Elyra, enabling pipeline execution from Workbenches with PyTorch libraries and dependencies, supporting different runtimes for various pipeline nodes."
name: runtime-pytorch
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "Pytorch with CUDA and Python 3.11 (UBI9)",
"metadata": {
"tags": [
"pytorch"
],
"display_name": "Pytorch with CUDA and Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:6a2806bf3cd9b00f60f3c7fe907727fb954c9776a075d9d58df26b5119d7afe6",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:6a2806bf3cd9b00f60f3c7fe907727fb954c9776a075d9d58df26b5119d7afe6
name: "pytorch"
referencePolicy:
type: Source
40 changes: 40 additions & 0 deletions manifests/base/runtime-rocm-pytorch-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "Pytorch with ROCm and Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "ROCm optimized PyTorch runtime image for Elyra, enabling pipeline execution from Workbenches with PyTorch libraries and dependencies, supporting different runtimes for various pipeline nodes."
name: runtime-rocm-pytorch
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "Pytorch with ROCm and Python 3.11 (UBI9)",
"metadata": {
"tags": [
"rocm-pytorch"
],
"display_name": "Pytorch with ROCm and Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:c6d74d73b835d0f97040ca99bb25065a949b817b52179f239a5361c3299352ba",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:c6d74d73b835d0f97040ca99bb25065a949b817b52179f239a5361c3299352ba
name: "rocm-pytorch"
referencePolicy:
type: Source
40 changes: 40 additions & 0 deletions manifests/base/runtime-rocm-tensorflow-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "TensorFlow with ROCm and Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "ROCm optimized TensorFlow runtime image for Elyra, enabling pipeline execution from Workbenches with TensorFlow libraries and dependencies, supporting different runtimes for various pipeline nodes."
name: runtime-rocm-tensorflow
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "TensorFlow with ROCm and Python 3.11 (UBI9)",
"metadata": {
"tags": [
"rocm-tensorflow"
],
"display_name": "TensorFlow with ROCm and Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:6a2da12a8bdc9cfcda27f4189827be5fbde4b4b4c4f7d92ac694d9360e3562dc",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:6a2da12a8bdc9cfcda27f4189827be5fbde4b4b4c4f7d92ac694d9360e3562dc
name: "rocm-tensorflow"
referencePolicy:
type: Source
40 changes: 40 additions & 0 deletions manifests/base/runtime-tensorflow-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/runtime-image: "true"
annotations:
# TODO: once the restraction takes a final shape need to update that url
opendatahub.io/runtime-image-url: "https://github.com//opendatahub-io/notebooks/tree/main/runtimes"
opendatahub.io/runtime-image-name: "TensorFlow with CUDA and Python 3.11 (UBI9)"
opendatahub.io/runtime-image-desc: "TensorFlow runtime image for Elyra, enabling pipeline execution from Workbenches with TensorFlow libraries and dependencies, supporting different runtimes for various pipeline nodes."
name: runtime-tensorflow
spec:
lookupPolicy:
local: true
tags:
- annotations:
# language=json
opendatahub.io/runtime-image-metadata: |
[
{
"display_name": "TensorFlow with CUDA and Python 3.11 (UBI9)",
"metadata": {
"tags": [
"tensorflow"
],
"display_name": "TensorFlow with CUDA and Python 3.11 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images@sha256:5d695b2e5dc76fc07a138644e2cd507c73eb9b26a47596734169c0b313e733f9",
"pull_policy": "IfNotPresent"
},
"schema_name": "runtime-image"
}
]
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:5d695b2e5dc76fc07a138644e2cd507c73eb9b26a47596734169c0b313e733f9
name: "tensorflow"
referencePolicy:
type: Source