You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating replicas and workersToDeleteUpdate is supported, updating other fields in RayCluster manifests is not
supported. In particular, updating Ray head pod and Ray worker pod configuration is not supported.
To update pod configuration, delete the RayCluster, edit its configuration and then re-create the cluster
In other words, use kubectl delete and kubectl create to update a RayCluster's pod configuration,
rather than kubectl apply.
Support for in-place updates of pod configuration is tracked in KubeRay issue [#527](https://github.com/ray-project/kuberay/issues/527).
Search before asking
KubeRay Component
Others
What happened + What you expected to happen
I'm using helm for creating ray cluster. I modified replica number and minReplica number in helm values but it doesn't work.
In the helm values file:
When CRDs deployed:
Expected:
Reproduction script
Set the worker replica number to zero in values file
Install helm chart.
helm upgrade --install --create-namespace -n ray-v2 ray-helm .
Get the values of CRD.
kubectl get rayclusters -n ray-v2 ray-helm-kuberay -o yaml
You can see minReplica number is 1
Anything else
This happens because ternary function in template file.
{{ 0 | 1 }} = 1
kuberay/helm-chart/ray-cluster/templates/raycluster-cluster.yaml
Line 91 in 87dde22
kuberay/helm-chart/ray-cluster/templates/raycluster-cluster.yaml
Line 157 in 87dde22
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: