mirror of
https://github.com/coder/code-server.git
synced 2026-02-19 18:01:15 +08:00
Probes can be disabled in Helm chart
Signed-off-by: mickkael <19755421+mickkael@users.noreply.github.com>
This commit is contained in:
parent
e90504b8cf
commit
04d0b59f97
@ -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 }}
|
||||
|
||||
@ -111,6 +111,12 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 1000Mi
|
||||
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user