Skip to content

Commit

Permalink
set kubernetes resources field for master and worker init containers
Browse files Browse the repository at this point in the history
  • Loading branch information
marwansalem committed Nov 13, 2023
1 parent f0d4319 commit 35c2c2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/celeborn/templates/master-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ spec:
- chown
- {{ .Values.securityContext.runAsUser | default 10006 }}:{{ .Values.securityContext.runAsGroup | default 10006 }}
- {{ (index $dirs 0).mountPath }}
resources:
{{- toYaml .Values.resources.master | nindent 12 }}
volumeMounts:
- name: {{ $.Release.Name }}-master-vol-0
mountPath: {{ (index $dirs 0).mountPath }}
Expand Down
2 changes: 2 additions & 0 deletions charts/celeborn/templates/worker-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ spec:
{{- range $dir := $dirs }}
- {{ $dir.mountPath }}
{{- end}}
resources:
{{- toYaml .Values.resources.worker | nindent 12 }}
volumeMounts:
{{- range $index, $dir := $dirs }}
- name: {{ $.Release.Name }}-worker-vol-{{ $index }}
Expand Down

0 comments on commit 35c2c2e

Please sign in to comment.