Kubernetes Pod Debugging Cheat Sheet/Call a probe endpoint after port-forward

Use curl locally against the forwarded health endpoint.

Section: Readiness, Liveness, and Startup Probes

Call a probe endpoint after port-forward

bash
bash
curl -i http://127.0.0.1:8080/healthz

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Readiness, Liveness, and Startup Probes
Inspect configured probes
View readiness, liveness, and startup probe definitions.
OpenIn sheetbashsame section
See probe failure events
Describe a pod and inspect event messages for failing probes.
OpenIn sheetbashsame section
Run the probe command manually
Validate probe behavior inside the container context.
OpenIn sheetbashsame section
Port-forward and test HTTP probe locally
Verify whether the probe endpoint behaves as expected.
OpenIn sheetbashsame section
List Pending pods
Find pods stuck before startup.
Find CrashLoopBackOff pods
List pods that are restarting and failing to stay up.