Does Readiness check keep running after a pod has been marked unready?

by dev_in_prog   Last Updated August 14, 2019 22:00 PM

My understanding is that after waiting for 45 seconds, Kubernetes is going to hit /heartbeat and wait for the response for 5 seconds. If it doesn't get the response, it is going to try 5 times(every 60 seconds). After 5x60seconds=5mins has elapsed, is Kubernetes going to keep doing the readiness check? If the service comes up after 6 mins, Is this pod going to be marked as ready? Second question, does it keep using failureThreshold and other readiness settings?

readinessProbe:
  httpGet:
    path: /heartbeat
    port: 8080
  initialDelaySeconds: 45
  timeoutSeconds: 5
  periodSeconds: 60
  failureThreshold: 5
livenessProbe:
  httpGet:
    path: /summary
    port: 8080
  initialDelaySeconds: 180
  timeoutSeconds: 1
  periodSeconds: 60
  failureThreshold: 5


Related Questions


Kubernetes Influx DB - Backend Unhealthy

Updated August 07, 2018 03:00 AM


Broken GKE Backend Health Check Default

Updated August 17, 2017 17:00 PM