fix(gitops): use tcp probes for backend readiness/liveness
This commit is contained in:
parent
b6f9bc4959
commit
dfe3d4c561
1 changed files with 2 additions and 4 deletions
|
|
@ -78,16 +78,14 @@ spec:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: nxtgauge-backend-secrets
|
name: nxtgauge-backend-secrets
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /health
|
|
||||||
port: 2002
|
port: 2002
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /health
|
|
||||||
port: 2002
|
port: 2002
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue