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 - name: http
containerPort: {{ .Values.service.core.targetPort }} containerPort: {{ .Values.service.core.targetPort }}
protocol: TCP protocol: TCP
#livenessProbe: livenessProbe:
# httpGet: httpGet:
# path: / path: /health
# port: http port: http
#readinessProbe: readinessProbe:
# httpGet: httpGet:
# path: / path: /health
# port: http port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
+8 -8
View File
@@ -46,14 +46,14 @@ spec:
- name: http - name: http
containerPort: {{ .Values.service.shard.targetPort }} containerPort: {{ .Values.service.shard.targetPort }}
protocol: TCP protocol: TCP
#livenessProbe: livenessProbe:
# httpGet: httpGet:
# path: / path: /health
# port: http port: http
#readinessProbe: readinessProbe:
# httpGet: httpGet:
# path: / path: /health
# port: http port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}