Readiness Probe is a Kubernetes capability that enables teams to make their applications more reliable and robust. This probe regulates under what circumstances the pod should be taken out of the list of service endpoints so that it no longer responds to requests. In defined circumstances the probe can remove the pod from the list of available service endpoints.
Using the Readiness Probe ensures teams define what actions need to be taken to prevent failure and ensure recovery in case of unexpected errors.
Field: readinessProbe (Optional)
The probe describes a health check to be performed against a container to determine whether it is ready for traffic or not.
Its configurations may include: exec, failureThreshold, httpGet, initialDelaySeconds, periodSeconds, successThreshold, tcpSocket and timeoutSeconds.
apiVersion: v1 kind: Pod metadata: name: <name> spec: containers: - name: <container name> image: <image> + readinessProbe: <Probe configurations>
Updated 2 months ago