You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does it do ?
* At the beginning pod is ready (first 30 seconds)
* Check will be done after 5 seconds of pod being startet
* Check will be done periodically every 5 minutes and will check
* for /tmp/healthy
* if file is there will return: 0
* if file is not there will return: 1
* After 30 seconds container will be killed
* After 35 seconds container will be restarted
# Step 2: apply and test
kubectl apply -f 02-pod-liveness-http.yml
# after 10 seconds port should have been started
sleep 10
kubectl describe pod liveness-http