Skip to content

Commit 51d0b2f

Browse files
Remove image from base-template
1 parent 2c7bcfa commit 51d0b2f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

docs/sphinx/user-docs/cluster-configuration.rst

+9-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ requirements for creating the Ray Cluster.
3030
))
3131
3232
.. note::
33-
`quay.io/modh/ray:2.35.0-py39-cu121` is the default image used by
34-
the CodeFlare SDK for creating a RayCluster resource. If you have your
35-
own Ray image which suits your purposes, specify it in image field to
36-
override the default image. If you are using ROCm compatible GPUs you
33+
The default images used by the CodeFlare SDK for creating
34+
a RayCluster resource depend on the installed Python version:
35+
36+
- For Python 3.9: `quay.io/modh/ray:2.35.0-py39-cu121`
37+
- For Python 3.11: `quay.io/modh/ray:2.35.0-py311-cu121`
38+
39+
If you prefer to use a custom Ray image that better suits your
40+
needs, you can specify it in the image field to override the default.
41+
If you are using ROCm compatible GPUs you
3742
can use `quay.io/modh/ray:2.35.0-py39-rocm61`. You can also find
3843
documentation on building a custom image
3944
`here <https://github.com/opendatahub-io/distributed-workloads/tree/main/images/runtime/examples>`__.

src/codeflare_sdk/ray/templates/base-template.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ spec:
6969
containers:
7070
# The Ray head pod
7171
- name: ray-head
72-
image: quay.io/modh/ray@sha256:0d715f92570a2997381b7cafc0e224cfa25323f18b9545acfd23bc2b71576d06
7372
imagePullPolicy: Always
7473
ports:
7574
- containerPort: 6379
@@ -150,7 +149,6 @@ spec:
150149
spec:
151150
containers:
152151
- name: machine-learning # must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc'
153-
image: quay.io/modh/ray@sha256:0d715f92570a2997381b7cafc0e224cfa25323f18b9545acfd23bc2b71576d06
154152
# environment variables to set in the container.Optional.
155153
# Refer to https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
156154
lifecycle:

0 commit comments

Comments
 (0)