fix rediness probe

This commit is contained in:
Jay Sharma
2023-09-19 08:23:12 +05:30
parent cbf7865496
commit 9789e450a9
3 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ spec:
- /root/redinessprobe-wp.sh - /root/redinessprobe-wp.sh
initialDelaySeconds: 60 initialDelaySeconds: 60
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 5 timeoutSeconds: 30
failureThreshold: 10 failureThreshold: 10
successThreshold: 1 successThreshold: 1
readinessProbe: readinessProbe:
@@ -72,7 +72,7 @@ spec:
periodSeconds: 5 periodSeconds: 5
successThreshold: 1 successThreshold: 1
failureThreshold: 5 failureThreshold: 5
timeoutSeconds: 5 timeoutSeconds: 30
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: 80 port: 80
@@ -80,7 +80,7 @@ spec:
periodSeconds: 2 periodSeconds: 2
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 3 timeoutSeconds: 30
resources: resources:
limits: limits:
cpu: 500m cpu: 500m

View File

@@ -59,7 +59,7 @@ spec:
- /root/redinessprobe-wp.sh - /root/redinessprobe-wp.sh
initialDelaySeconds: 60 initialDelaySeconds: 60
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 5 timeoutSeconds: 30
failureThreshold: 10 failureThreshold: 10
successThreshold: 1 successThreshold: 1
readinessProbe: readinessProbe:
@@ -72,7 +72,7 @@ spec:
periodSeconds: 5 periodSeconds: 5
successThreshold: 1 successThreshold: 1
failureThreshold: 5 failureThreshold: 5
timeoutSeconds: 5 timeoutSeconds: 30
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: 80 port: 80
@@ -80,7 +80,7 @@ spec:
periodSeconds: 2 periodSeconds: 2
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 3 timeoutSeconds: 30
resources: resources:
limits: limits:
cpu: 500m cpu: 500m

View File

@@ -59,7 +59,7 @@ spec:
- /root/redinessprobe-wp.sh - /root/redinessprobe-wp.sh
initialDelaySeconds: 60 initialDelaySeconds: 60
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 5 timeoutSeconds: 30
failureThreshold: 10 failureThreshold: 10
successThreshold: 1 successThreshold: 1
readinessProbe: readinessProbe:
@@ -72,7 +72,7 @@ spec:
periodSeconds: 5 periodSeconds: 5
successThreshold: 1 successThreshold: 1
failureThreshold: 5 failureThreshold: 5
timeoutSeconds: 5 timeoutSeconds: 30
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:
port: 80 port: 80
@@ -80,7 +80,7 @@ spec:
periodSeconds: 2 periodSeconds: 2
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 3 timeoutSeconds: 30
resources: resources:
limits: limits:
cpu: 500m cpu: 500m