using recreate
This commit is contained in:
1 parent
493a9ce5bb
commit
f0fa0bf564
2 files changed
+7
No files matched your search
@@ -38,11 +38,16 @@ metadata:
|
||||
spec:
|
||||
revisionHistoryLimit: 2
|
||||
replicas: {{ .replicas | int }}
|
||||
{{ if .strategy }}
|
||||
strategy:
|
||||
{{ .strategy | toYaml | nindent 8 }}
|
||||
{{ else }}
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 2
|
||||
maxUnavailable: 0
|
||||
{{ end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
homelab/name: immich
|
||||
|
||||
@@ -97,6 +97,8 @@ immich:
|
||||
timeoutSeconds: 1
|
||||
typesense:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
port: 8108
|
||||
image: docker.io/typesense/typesense
|
||||
version: 0.24.0
|
||||
|
||||
Reference in new issue
Block a user