Probes can be disabled in Helm chart

Signed-off-by: mickkael <19755421+mickkael@users.noreply.github.com>
This commit is contained in:
mickkael 2026-01-31 23:32:38 +08:00
parent e90504b8cf
commit 04d0b59f97
2 changed files with 10 additions and 0 deletions

View File

@ -123,14 +123,18 @@ spec:
containerPort: {{ .port }}
protocol: {{ .protocol }}
{{- end }}
{{- if ne .Values.livenessProbe.enabled false }}
livenessProbe:
httpGet:
path: /healthz
port: http
{{- end }}
{{- if ne .Values.readinessProbe.enabled false }}
readinessProbe:
httpGet:
path: /healthz
port: http
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}

View File

@ -111,6 +111,12 @@ resources: {}
# cpu: 100m
# memory: 1000Mi
livenessProbe:
enabled: true
readinessProbe:
enabled: true
nodeSelector: {}
tolerations: []