The service with no backends
A healthy web pod is running, but its Kubernetes Service has no ready endpoints. Trace the selection problem and restore in-cluster access.

The scenario
A team reports that the web Service cannot reach its healthy backend in a disposable kind cluster. Restore Service connectivity without changing the deployment or deleting the namespace.
Mission objectives
- Inspect the Service, its endpoints, and the pod labels.
- Restore ready endpoints for the web Service without changing the deployment.
- Verify a request reaches the application through the Service.
Get the lab
Download and inspect the installer before running it. It checks the archive's SHA-256 digest and refuses to overwrite an existing lab directory.
curl -fsSLO https://devops.download/labs/devops-02-k8s-missing-endpoints.sh less devops-02-k8s-missing-endpoints.sh
bash devops-02-k8s-missing-endpoints.sh
cd labs/devops-02-k8s-missing-endpoints
./setup.shWhen you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.
Need a nudge?
Hint #1
Compare the Service selector with the labels on the running pod.
Hint #2
Use the lab-specific kubeconfig and inspect EndpointSlices before changing the Service.
Hint #3 · Deep Dive Runbook on opsbreakfix.com
Solved it?
Read the Official Root Cause Analysis & Certification Roadmap on opsbreakfix.com
Continue to opsbreakfix.com ↗