Skip to content

Commit

Permalink
chore: remove all deprecated HeadGroupSpec.replicas in example YAMLs (
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxia authored Nov 13, 2023
1 parent c7edeae commit 3f37a7f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions ray-operator/config/samples/ray-cluster.complete.large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ spec:
# Kubernetes Service Type. This is an optional field, and the default value is ClusterIP.
# Refer to https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types.
serviceType: ClusterIP
# for the head group, replicas should always be 1.
# headGroupSpec.replicas is deprecated in KubeRay >= 0.3.0.
replicas: 1
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ spec:
rayVersion: '2.7.0' # should match the Ray version in the image of the containers
headGroupSpec:
serviceType: NodePort
replicas: 1
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
rayVersion: '2.7.0'
headGroupSpec:
rayStartParams: {}
replicas: 1
template:
spec:
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ spec:
rayVersion: '2.7.0'
headGroupSpec:
rayStartParams: {}
replicas: 1
template:
spec:
containers:
Expand Down
3 changes: 0 additions & 3 deletions ray-operator/config/security/ray-cluster.pod-security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ spec:
rayVersion: '2.4.0'
# Ray head pod configuration
headGroupSpec:
# for the head group, replicas should always be 1.
# headGroupSpec.replicas is deprecated in KubeRay >= 0.3.0.
replicas: 1
# the following params are used to complete the ray start: ray start --head --block --dashboard-host: '0.0.0.0' ...
rayStartParams:
dashboard-host: '0.0.0.0'
Expand Down

0 comments on commit 3f37a7f

Please sign in to comment.