Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
Signed-off-by: Yicheng-Lu-llll <[email protected]>
  • Loading branch information
Yicheng-Lu-llll committed May 8, 2023
1 parent a9655fe commit 375ea93
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 18 deletions.
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray-cluster.autoscaler.large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ spec:
# Ray head pod template
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block --port=6379 ...
rayStartParams: {
rayStartParams:
# Flag "no-monitor" will be automatically set when autoscaling is enabled.
dashboard-host: '0.0.0.0'
# num-cpus: '14' # can be auto-completed from the limits
# Use `resources` to optionally specify custom resource annotations for the Ray node.
# The value of `resources` is a string-integer mapping.
# Currently, `resources` must be provided in the specific format demonstrated below:
# resources: '"{\"Custom1\": 1, \"Custom2\": 5}"'
}
#pod template
template:
spec:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray-cluster.autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ spec:
# Ray head pod template
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block ...
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# num-cpus: '1' # can be auto-completed from the limits
# Use `resources` to optionally specify custom resource annotations for the Ray node.
# The value of `resources` is a string-integer mapping.
# Currently, `resources` must be provided in the specific format demonstrated below:
# resources: '"{\"Custom1\": 1, \"Custom2\": 5}"'
}
#pod template
template:
spec:
Expand Down
3 changes: 2 additions & 1 deletion ray-operator/config/samples/ray-cluster.complete.large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ spec:
# 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: {}
rayStartParams:
dashboard-host: '0.0.0.0'
# pod template
template:
metadata:
Expand Down
3 changes: 2 additions & 1 deletion ray-operator/config/samples/ray-cluster.complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ spec:
# Refer to https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types.
serviceType: ClusterIP
# the following params are used to complete the ray start: ray start --head --block --dashboard-host: '0.0.0.0' ...
rayStartParams: {}
rayStartParams:
dashboard-host: '0.0.0.0'
# pod template
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ spec:
headGroupSpec:
replicas: 1
rayStartParams:
dashboard-host: "0.0.0.0"
# num-cpus: "1" # can be auto-completed from the limits
# redis-password should match "requirepass" in redis.conf in the ConfigMap above.
# Ray 2.3.0 changes the default redis password from "5241590000000000" to "".
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray-cluster.head-command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ spec:
# Ray head pod template
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block --redis-port=6379 ...
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# num-cpus: '1' # can be auto-completed from the limits
}
#pod template
template:
spec:
Expand Down
3 changes: 2 additions & 1 deletion ray-operator/config/samples/ray-cluster.heterogeneous.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ spec:
#- raycluster-heterogeneous-worker-medium-group-7bv5h
# - worker-4k2ih
# the following params are used to complete the ray start: ray start --block --node-ip-address= ...
rayStartParams: {}
rayStartParams:
dashboard-host: '0.0.0.0'
#pod template
template:
spec:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray-cluster.mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
# Ray head pod template
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block --redis-port=6379 ...
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# num-cpus: '1' # can be auto-completed from the limits
}
#pod template
template:
spec:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray-cluster.separate-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ spec:
headGroupSpec:
serviceType: NodePort
replicas: 1
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# port: '6379'
# num-cpus: '1' # can be auto-completed from the limits
}
#pod template
template:
spec:
Expand Down
3 changes: 2 additions & 1 deletion ray-operator/config/samples/ray-cluster.tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ spec:
rayVersion: '2.4.0'
# Ray head pod configuration
headGroupSpec:
rayStartParams: {}
rayStartParams:
dashboard-host: '0.0.0.0'
# pod template
template:
metadata:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray_v1alpha1_rayjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ spec:
# Ray head pod template
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block --redis-port=6379 ...
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# num-cpus: '1' # can be auto-completed from the limits
}
#pod template
template:
spec:
Expand Down
4 changes: 2 additions & 2 deletions ray-operator/config/samples/ray_v1alpha1_rayservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ spec:
# Ray head pod template.
headGroupSpec:
# the following params are used to complete the ray start: ray start --head --block --redis-port=6379 ...
rayStartParams: {
rayStartParams:
dashboard-host: '0.0.0.0'
# port: '6379' # should match container port named gcs-server
# num-cpus: '2' # can be auto-completed from the limits
}
#pod template
template:
spec:
Expand Down

0 comments on commit 375ea93

Please sign in to comment.