KCNA · Question #5
What is a probe within Kubernetes?
The correct answer is C. A diagnostic performed periodically by the kubelet on a container.. In Kubernetes, a probe is a diagnostic mechanism performed periodically by the kubelet on a container to determine its health or readiness.
Question
What is a probe within Kubernetes?
Options
- AA monitoring mechanism of the Kubernetes API.
- BA pre-operational scope issued by the kubectl agent.
- CA diagnostic performed periodically by the kubelet on a container.
- DA logging mechanism of the Kubernetes API.
How the community answered
(56 responses)- A2% (1)
- B5% (3)
- C89% (50)
- D4% (2)
Why each option
In Kubernetes, a probe is a diagnostic mechanism performed periodically by the kubelet on a container to determine its health or readiness.
Probes are for container health, not for monitoring the Kubernetes API itself.
Probes are configured as part of a Pod definition and executed by the kubelet, not issued by a `kubectl` agent as a pre-operational scope.
The kubelet performs probes periodically on containers to check their health. There are three types: liveness probes determine if a container is running, readiness probes determine if a container is ready to serve traffic, and startup probes determine if an application within a container has started successfully.
Probes are diagnostic mechanisms for health, distinct from logging mechanisms which capture output from applications.
Concept tested: Kubernetes Probes (Liveness, Readiness, Startup)
Source: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
Topics
Community Discussion
No community discussion yet for this question.