fix: use TCP probe for CodiMD health check (/healthz not available)
This commit is contained in:
@@ -38,18 +38,16 @@ spec:
|
|||||||
value: "true"
|
value: "true"
|
||||||
- name: CMD_CSP_ENABLE
|
- name: CMD_CSP_ENABLE
|
||||||
value: "false"
|
value: "false"
|
||||||
# Health check (CodiMD has /healthz endpoint)
|
# Health check (use TCP since /healthz returns 404)
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /healthz
|
|
||||||
port: 3000
|
port: 3000
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /healthz
|
|
||||||
port: 3000
|
port: 3000
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user