Skip to content

Commit

Permalink
fix: ray helm chart incorrectly always uses 1 worker replica
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Aug 26, 2022
1 parent d1a8821 commit 569c4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: {{ .Values.clusterNamespace }}
spec:
# Change this to scale the number of worker nodes started in the Ray cluster.
replicas: 1
replicas: {{ .Values.podTypes.rayWorkerType.maxWorkers | default 1 }}
selector:
matchLabels:
component: ray-worker
Expand Down
4 changes: 2 additions & 2 deletions guidebooks/ml/ray/start/kubernetes/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ podTypes:
# The key for each podType is a user-defined string.
rayWorkerType:
# minWorkers is the minimum number of Ray workers of this pod type to keep running.
minWorkers: 2
minWorkers: 1
# maxWorkers is the maximum number of Ray workers of this pod type to which Ray will scale.
maxWorkers: 3
maxWorkers: 1
# memory is the memory used by this Pod type.
# (Used for both requests and limits.)
memory: 1Gi
Expand Down

0 comments on commit 569c4ad

Please sign in to comment.