From 51d0b2f2b1ba90a0aa314e9b93eed2f20a4efd6b Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Thu, 17 Oct 2024 13:46:19 +0100 Subject: [PATCH] Remove image from base-template --- docs/sphinx/user-docs/cluster-configuration.rst | 13 +++++++++---- src/codeflare_sdk/ray/templates/base-template.yaml | 2 -- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/sphinx/user-docs/cluster-configuration.rst b/docs/sphinx/user-docs/cluster-configuration.rst index 6d27b0f41..238ad51c9 100644 --- a/docs/sphinx/user-docs/cluster-configuration.rst +++ b/docs/sphinx/user-docs/cluster-configuration.rst @@ -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 `__. diff --git a/src/codeflare_sdk/ray/templates/base-template.yaml b/src/codeflare_sdk/ray/templates/base-template.yaml index 19e5b1914..b59d2a495 100644 --- a/src/codeflare_sdk/ray/templates/base-template.yaml +++ b/src/codeflare_sdk/ray/templates/base-template.yaml @@ -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 @@ -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: