File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/zenml/zen_server/deploy/helm Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,12 @@ spec:
104104 envFrom :
105105 - secretRef :
106106 name : {{ include "zenml.fullname" . }}-db-migration
107- {{- with .Values.resources }}
108107 resources :
109- {{- toYaml . | nindent 12 }}
110- {{- end }}
108+ {{- if .Values.resourcesMigrationPod }}
109+ {{- toYaml .Values.resourcesMigrationPod | nindent 12 }}
110+ {{- else }}
111+ {{- toYaml .Values.resources | nindent 12 }}
112+ {{- end }}
111113 {{- with .Values.tolerations }}
112114 tolerations :
113115 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -990,6 +990,10 @@ resources: {}
990990 # cpu: 100m
991991 # memory: 128Mi
992992
993+ resourcesMigrationPod : {}
994+ # Resource requests and limits for the database migration pod.
995+ # If not set, falls back to the global resources configuration defined in .Values.resources
996+
993997autoscaling :
994998 enabled : false
995999 minReplicas : 1
You can’t perform that action at this time.
0 commit comments