Skip to content

Commit

Permalink
Remove image from base-template
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianZaccaria authored and openshift-merge-bot[bot] committed Oct 17, 2024
1 parent 2c7bcfa commit 51d0b2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 9 additions & 4 deletions docs/sphinx/user-docs/cluster-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ requirements for creating the Ray Cluster.
))
.. note::
`quay.io/modh/ray:2.35.0-py39-cu121` is the default image used by
the CodeFlare SDK for creating a RayCluster resource. If you have your
own Ray image which suits your purposes, specify it in image field to
override the default image. If you are using ROCm compatible GPUs you
The default images used by the CodeFlare SDK for creating
a RayCluster resource depend on the installed Python version:

- For Python 3.9: `quay.io/modh/ray:2.35.0-py39-cu121`
- For Python 3.11: `quay.io/modh/ray:2.35.0-py311-cu121`

If you prefer to use a custom Ray image that better suits your
needs, you can specify it in the image field to override the default.
If you are using ROCm compatible GPUs you
can use `quay.io/modh/ray:2.35.0-py39-rocm61`. You can also find
documentation on building a custom image
`here <https://github.com/opendatahub-io/distributed-workloads/tree/main/images/runtime/examples>`__.
Expand Down
2 changes: 0 additions & 2 deletions src/codeflare_sdk/ray/templates/base-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ spec:
containers:
# The Ray head pod
- name: ray-head
image: quay.io/modh/ray@sha256:0d715f92570a2997381b7cafc0e224cfa25323f18b9545acfd23bc2b71576d06
imagePullPolicy: Always
ports:
- containerPort: 6379
Expand Down Expand Up @@ -150,7 +149,6 @@ spec:
spec:
containers:
- 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'
image: quay.io/modh/ray@sha256:0d715f92570a2997381b7cafc0e224cfa25323f18b9545acfd23bc2b71576d06
# environment variables to set in the container.Optional.
# Refer to https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
lifecycle:
Expand Down

0 comments on commit 51d0b2f

Please sign in to comment.