adding liveness and rediness probes

This commit is contained in:
arshamparity
2021-07-28 17:56:24 +03:00
parent a0c434f238
commit 4e5815ced9
2 changed files with 16 additions and 16 deletions
+8 -8
View File
@@ -44,14 +44,14 @@ spec:
- name: http
containerPort: {{ .Values.service.core.targetPort }}
protocol: TCP
#livenessProbe:
# httpGet:
# path: /
# port: http
#readinessProbe:
# httpGet:
# path: /
# port: http
livenessProbe:
httpGet:
path: /health
port: http
readinessProbe:
httpGet:
path: /health
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
+8 -8
View File
@@ -46,14 +46,14 @@ spec:
- name: http
containerPort: {{ .Values.service.shard.targetPort }}
protocol: TCP
#livenessProbe:
# httpGet:
# path: /
# port: http
#readinessProbe:
# httpGet:
# path: /
# port: http
livenessProbe:
httpGet:
path: /health
port: http
readinessProbe:
httpGet:
path: /health
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}