Readiness Probe:
1. httpGet
readinessProbe:httpGet:path: /api/readyport: 8080
2. tcpSocket:
readinessProbe:
topSocket:
port:3306
3. command
readinessProbe:exec:command:- cat-/app/is_ready
Liveness Probe:
1. httpGet
livenessProbe:
httpGet:
path: /api/ready
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 8
2. tcpSocket:
livenessProbe:
topSocket:
port:3306
3. command
livenessProbe:exec:command:- cat-/app/is_ready
No comments:
Post a Comment