Skip to content

Commit

Permalink
Support setting the init-container-image for pytorch-operator (#1097)
Browse files Browse the repository at this point in the history
Signed-off-by: Syulin7 <[email protected]>
  • Loading branch information
Syulin7 authored Jun 18, 2024
1 parent 48eed0f commit 19c9090
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
- -v=1
- --monitoring-port=8443
- --threadiness=4
- --init-container-image={{ .Values.initContainerImage }}
# image: gcr.io/kubeflow-images-public/pytorch-operator:v0.6.0-18-g5e36a57
image: {{ include "arena.imagePrefix" . }}/{{ .Values.image }}:{{ .Values.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
Expand Down
3 changes: 2 additions & 1 deletion arena-artifacts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mpi:
pytorch:
enabled: true
image: acs/pytorch-operator
tag: v1.0-aliyun-5ab19b0
tag: v1.0-aliyun-4026101
imagePullPolicy: IfNotPresent
resources:
limits:
Expand All @@ -86,6 +86,7 @@ pytorch:
cpu: 100m
memory: 256Mi
nodeSelector: {}
initContainerImage: alpine:3.10

# et-operator
et:
Expand Down

0 comments on commit 19c9090

Please sign in to comment.