Skip to content

Commit

Permalink
feature: Included annotation to the outdated image tags
Browse files Browse the repository at this point in the history
Signed-off-by: Harshad Reddy Nalla <[email protected]>
  • Loading branch information
harshad16 committed Nov 7, 2023
1 parent 1162813 commit ed0a32a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/workbench-imagestreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
- **`opendatahub.io/notebook-python-dependencies:`** - a string that represents the list of Python libraries included within the workbench image. Each library is described by its name and currently used version (e.g. `'[{"name":"Numpy","version":"1.24"},{"name":"Pandas","version":"1.5"}]'`)
- **`openshift.io/imported-from:`** - a reference to the image repository where the workbench image was obtained (e.g. `quay.io/repository/opendatahub/workbench-images`)
- **`opendatahub.io/workbench-image-recommended:`** - a flag that allows the ImageStream tag to be marked as Recommended (used by the UI to distinguish which tags are recommended for use, e.g., when the workbench image offers multiple tags to choose from)
- **`opendatahub.io/image-tag-outdated:`** - a reference to the image version Tags that are outdated and out of regular maintaince cycle. The image tag would be eventually removed.

### **ImageStream definitions for the supported out-of-the-box images in ODH**

Expand Down Expand Up @@ -72,6 +73,7 @@ spec:
opendatahub.io/notebook-python-dependencies: '[{"name":"Boto3","version":"1.26"},{"name":"Kafka-Python","version":"2.0"},{"name":"Kfp-tekton","version":"1.5"},{"name":"Matplotlib","version":"3.6"},{"name":"Numpy","version":"1.24"},{"name":"Pandas","version":"1.5"},{"name":"Scikit-learn","version":"1.2"},{"name":"Scipy","version":"1.10"}]'
openshift.io/imported-from: quay.io/opendatahub/workbench-images
opendatahub.io/workbench-image-recommended: 'true'
opendatahub.io/image-tag-outdated: 'false'
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:value-of-the-image-tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
opendatahub.io/notebook-software: '[{"name":"Python","version":"v3.8"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"Boto3","version":"1.17"},{"name":"Kafka-Python","version":"2.0"},{"name":"Matplotlib","version":"3.4"},{"name":"Numpy","version":"1.19"},{"name":"Pandas","version":"1.2"},{"name":"Scikit-learn","version":"0.24"},{"name":"Scipy","version":"1.6"}]'
openshift.io/imported-from: quay.io/opendatahub/notebooks
opendatahub.io/image-tag-outdated: 'true'
from:
kind: DockerImage
name: $(odh-generic-data-science-notebook-image-n-2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
opendatahub.io/notebook-software: '[{"name":"CUDA","version":"11.4"},{"name":"Python","version":"v3.8"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"JupyterLab","version":"3.2"},{"name":"Notebook","version":"6.4"}]'
openshift.io/imported-from: quay.io/opendatahub/notebooks
opendatahub.io/image-tag-outdated: 'true'
from:
kind: DockerImage
name: $(odh-minimal-gpu-notebook-image-n-2)
Expand Down
1 change: 1 addition & 0 deletions manifests/base/jupyter-minimal-notebook-imagestream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
opendatahub.io/notebook-software: '[{"name":"Python","version":"v3.8"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"JupyterLab","version": "3.2"}, {"name": "Notebook","version": "6.4"}]'
openshift.io/imported-from: quay.io/opendatahub/notebooks
opendatahub.io/image-tag-outdated: 'true'
from:
kind: DockerImage
name: $(odh-minimal-notebook-image-n-2)
Expand Down
1 change: 1 addition & 0 deletions manifests/base/jupyter-pytorch-notebook-imagestream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
opendatahub.io/notebook-software: '[{"name":"CUDA","version":"11.4"},{"name":"Python","version":"v3.8"},{"name":"PyTorch","version":"1.8"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"PyTorch","version":"1.8"},{"name":"Tensorboard","version":"2.6"},{"name":"Boto3","version":"1.17"},{"name":"Kafka-Python","version":"2.0"},{"name":"Matplotlib","version":"3.4"},{"name":"Numpy","version":"1.19"},{"name":"Pandas","version":"1.2"},{"name":"Scikit-learn","version":"0.24"},{"name":"Scipy","version":"1.6"}]'
openshift.io/imported-from: quay.io/opendatahub/notebooks
opendatahub.io/image-tag-outdated: 'true'
from:
kind: DockerImage
name: $(odh-pytorch-gpu-notebook-image-n-2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
opendatahub.io/notebook-software: '[{"name":"CUDA","version":"11.4"},{"name":"Python","version":"v3.8"},{"name":"TensorFlow","version":"2.7"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"TensorFlow","version":"2.7"},{"name":"Tensorboard","version":"2.6"},{"name":"Boto3","version":"1.17"},{"name":"Kafka-Python","version":"2.0"},{"name":"Matplotlib","version":"3.4"},{"name":"Numpy","version":"1.19"},{"name":"Pandas","version":"1.2"},{"name":"Scikit-learn","version":"0.24"},{"name":"Scipy","version":"1.6"}]'
openshift.io/imported-from: quay.io/opendatahub/notebooks
opendatahub.io/image-tag-outdated: 'true'
from:
kind: DockerImage
name: $(odh-tensorflow-gpu-notebook-image-n-2)
Expand Down

0 comments on commit ed0a32a

Please sign in to comment.