Skip to content

Commit

Permalink
fixup! Add templated Ray cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Aug 16, 2023
1 parent 0b725f0 commit f2e655a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/studio/templates/configmap-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ data:
DVCX_ENABLED: {{ $dvcx.enabled | default "False" | quote }}
DVCX_UDF_ENABLED: {{ $dvcx.udfEnabled | default "False" | quote }}
{{- if .Values.ray.enabled }}
DVCX_RAY_URL: "http://{{ .Values.ray.fullnameOverride }}-head-svc.{{ .Release.Namespace }}.svc.cluster.local:8265"
DVCX_RAY_URL: "http://{{ .Release.Name }}-ray-head-svc.{{ .Release.Namespace }}.svc.cluster.local:8265"
{{- end }}

DQL_ROOT_DIR: {{ $dvcx.rootDir | default "/tmp" | quote }}
Expand Down
9 changes: 4 additions & 5 deletions charts/studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,17 @@ postgresql:
# -- Postgres database
database: iterativeai

# -- Ray cluster settings group
ray:
# -- Ray enabled
enabled: false
# -- Ray name override
fullnameOverride: {{ .Release.Name }}-ray

# -- Container image used for Ray nodes
image: rayproject/ray:2.4.0-py310-cpu

# -- Ray version
version: 2.4.0

# -- Container image used for Ray nodes
image: rayproject/ray:2.4.0-py310-cpu

# Recommendation: adjust resources (i.e. combined requests & limits) so a
# single Ray node (e.g. head or worker) is scheduled on each Kubernetes node,
# using all the Kubernetes node resources.
Expand Down

0 comments on commit f2e655a

Please sign in to comment.