add livenessProbe

This commit is contained in:
c9s 2021-12-27 23:50:20 +08:00
parent 7eb290c5cb
commit a8cdc4fb61

View File

@ -48,13 +48,15 @@ spec:
{{- end }}
ports:
{{- if .Values.metrics.enabled }}
- name: metrics
containerPort: 9090
protocol: TCP
# livenessProbe:
# httpGet:
# path: /
# port: http
livenessProbe:
httpGet:
path: /metrics
port: metrics
{{- end }}
# readinessProbe:
# httpGet:
# path: /