adding liveness and rediness probes

This commit is contained in:
arshamparity committed 2021-07-28 17:56:24 +03:00
1 parent a0c434f238
commit 4e5815ced9
2 files changed
+16 -16

No files matched your search

+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 }}