Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts/immich/templates/immich-machine-learning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
{{- include "immich-machine-learning.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.machineLearning.replicaCount }}
{{- if .Values.machineLearning.updateStrategy }}
strategy: {{- toYaml .Values.machineLearning.updateStrategy | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "immich-machine-learning.selectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/immich/templates/immich-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ spec:
{{- if not .Values.server.autoscaling.enabled }}
replicas: {{ .Values.server.replicaCount }}
{{- end }}
{{- if .Values.server.updateStrategy }}
strategy: {{- toYaml .Values.server.updateStrategy | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "immich-server.selectorLabels" . | nindent 6 }}
Expand Down
10 changes: 9 additions & 1 deletion charts/immich/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ common:
server:
# This will set the replicaset count. Ignored if autoscaling is enabled.
replicaCount: 1
# This section configures the update strategy for the deployment.
updateStrategy:
type: RollingUpdate
rollingUpdate: {}
# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
enabled: false
Expand Down Expand Up @@ -128,7 +132,11 @@ machineLearning:
sizeLimit: 10Gi

replicaCount: 1

# This section configures the update strategy for the deployment.
updateStrategy:
type: RollingUpdate
rollingUpdate: {}

image:
repository: ghcr.io/immich-app/immich-machine-learning
pullPolicy: IfNotPresent
Expand Down
Loading