Apply validations

This commit is contained in:
Jay Sharma
2023-10-05 21:56:11 +05:30
parent 599ceff274
commit 7b3f2d4ff0
11 changed files with 425 additions and 87 deletions

View File

@@ -57,10 +57,10 @@ spec:
exec:
command:
- /root/redinessprobe-wp.sh
initialDelaySeconds: 60
periodSeconds: 15
timeoutSeconds: 30
failureThreshold: 10
initialDelaySeconds: 90
periodSeconds: 10
timeoutSeconds: 10
failureThreshold: 5
successThreshold: 1
readinessProbe:
exec:
@@ -68,19 +68,19 @@ spec:
- /bin/sh
- -c
- "wget -qO- 127.0.0.1/status |grep start && echo redinessprobe-success || exit 9"
initialDelaySeconds: 120
initialDelaySeconds: 30
periodSeconds: 5
successThreshold: 1
failureThreshold: 5
timeoutSeconds: 30
timeoutSeconds: 10
livenessProbe:
tcpSocket:
port: 80
initialDelaySeconds: 2
periodSeconds: 2
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 30
timeoutSeconds: 10
resources:
limits:
cpu: 500m