What types of readiness probes can you use in Kubernetes?
Experience Level: Senior
Tags: Kubernetes
Answer
-
HTTP probes
- HTTP request is sent to verify if a container is available.
- TCP probes - TCP connection to a specific port is established to verify if a container is available.
- Exec probes - An application is executed and a return status code is used to verify if a container is available.
Related Kubernetes job interview questions
You have a yaml definition of a pod stored in file.yaml. How do you create the pod from the definition?
Kubernetes SeniorWhere do you configure a readiness probe in Kubernetes?
Kubernetes SeniorHow do you configure a time after which the Kubernetes readiness probe is to be evaluated for the first time?
Kubernetes SeniorWhat are readiness probes in Kubernetes?
Kubernetes SeniorWhat are some best practices related to Kubernetes namespaces?
Kubernetes Senior