We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8693ef commit f87bc3dCopy full SHA for f87bc3d
devops/helm/mgmg/templates/deployment.yaml
@@ -7,6 +7,11 @@ metadata:
7
{{- include "mgmg.labels" . | nindent 4 }}
8
spec:
9
replicas: {{ .Values.replicaCount }}
10
+ strategy:
11
+ type: RollingUpdate
12
+ rollingUpdate:
13
+ maxUnavailable: 0
14
+ maxSurge: 1
15
selector:
16
matchLabels:
17
{{- include "mgmg.selectorLabels" . | nindent 6 }}
@@ -25,6 +30,16 @@ spec:
25
30
imagePullPolicy: {{ .Values.image.pullPolicy }}
26
31
ports:
27
32
- containerPort: {{ .Values.service.targetPort }}
33
+ readinessProbe:
34
+ httpGet:
35
+ path: /
36
+ port: 3000
37
+ initialDelaySeconds: 5
38
+ periodSeconds: 10
39
+ timeoutSeconds: 5
40
+ failureThreshold: 3
41
+ successThreshold: 1
42
+
28
43
env:
29
44
{{- toYaml .Values.env | nindent 8 }}
45
{{- if .Values.configMap }}
0 commit comments