Use health endpoint for code-server probes

This commit is contained in:
2026-06-03 02:33:07 +00:00
parent 8a346d068e
commit b0dedc36a1
2 changed files with 32 additions and 4 deletions

View File

@ -109,12 +109,26 @@ patches:
value: /models
readinessProbe:
httpGet:
path: /
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
livenessProbe:
httpGet:
path: /
path: /healthz
port: http
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 6
startupProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 30
resources:
requests:
cpu: "{{ cpuRequestMillicores }}m"

View File

@ -90,12 +90,26 @@ patches:
value: /models
readinessProbe:
httpGet:
path: /
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
livenessProbe:
httpGet:
path: /
path: /healthz
port: http
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 6
startupProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 30
resources:
requests:
cpu: "{{ cpuRequestMillicores }}m"