CompTIA Cloud+ (CV0-004)DevOps FundamentalsMedium
A pod running inside a Kubernetes cluster crashes due to an unhandled application exception. Without any administrator involvement, the cluster's control plane detects the failure and automatically starts a replacement pod to restore the desired state. Which orchestration capability does this demonstrate?
- ASelf-healing
- BService discovery
- CRolling update
- DHorizontal pod autoscaling
Show answer & explanationAnswer & explanation
Correct answer: A. Self-healing
Self-healing is the orchestration platform's ability to automatically detect failed or unhealthy instances and replace them to maintain the declared desired state, without manual intervention. Autoscaling adjusts replica counts based on load, rolling updates change application versions, and service discovery lets services locate one another.
Why the other options are wrong
- B. Service discovery helps services find each other's network location, not restart failed pods.
- C. Rolling updates gradually replace pods with a new version, unrelated to crash recovery.
- D. Autoscaling adjusts the number of replicas based on metrics like CPU, not failure recovery.
Self-Healing (Orchestration)
The capability of an orchestrator like Kubernetes to automatically detect and replace failed containers or nodes to maintain the desired application state.
- Driven by continuous reconciliation between desired and actual state
- Requires no manual admin intervention
- Works alongside health checks (liveness/readiness probes)
Memory trick: Self-healing: the cluster is its own doctor, replacing sick pods instantly.