# The running application that receives no traffic

The web container is running, but its Pod is not Ready and the Service has no
ready backend. Find the cause without removing readiness or liveness checks,
changing the application, or replacing the Service.

## Before you begin

Use a disposable machine with Bash, Python 3, Docker, kind and kubectl. Docker
may download the kind node and workload images. The lab creates the
single-node cluster `breakfix-apps-03`, a separate kubeconfig and an ownership
record under `~/.kube`; it does not change your default kubeconfig or cloud
resources. Do not reuse the lab cluster name. Setup refuses an existing
cluster or files, and teardown checks its recorded node identity.

## Investigate

```sh
./setup.sh
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-03" -n breakfix-apps-03 get pods,service,endpoints
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-03" -n breakfix-apps-03 describe pod -l app=probe-web
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-03" -n breakfix-apps-03 exec deploy/probe-web -- wget -qO- http://127.0.0.1/
```

Inspect the probe in `manifests.yaml`, correct it, and apply the manifest with
the dedicated kubeconfig:

```sh
kubectl --kubeconfig "$HOME/.kube/breakfix-apps-03" apply -f manifests.yaml
./verify.sh
./teardown.sh
```

Verification requires both probes, the original workload and Service, a ready
endpoint belonging to the lab Pod, and a successful request through the
Service. It does not claim to test production ingress, cloud networking or
downstream dependencies. Teardown deletes only the cluster whose node matches
the ownership record; it does not reset edited manifests.

The [related probe guide and demonstration](https://opsbreakfix.com/devops/troubleshoot-kubernetes-probes-and-resource-limits/#see-it-run)
cover probe diagnosis; its video demonstrates liveness, while this lab focuses
on readiness.
