Diagnose Kubernetes Ingress routing and TLS
8 steps · about 2 h 33 min · Intermediate
- Understand the Ingress request model (doc, Kubernetes Documentation, 24 min)
Map hosts, paths, backends and TLS to the controller that must implement them.
- Confirm a controller is installed (doc, Kubernetes Documentation, 16 min)
Verify that an implementation watches the resource instead of assuming the API object creates routing by itself.
- Match the intended IngressClass (reference, Kubernetes Documentation, 14 min)
Check class selection and controller ownership when rules exist but no data-plane configuration appears.
- Verify the backend Service fields (reference, Kubernetes Documentation, 22 min)
Inspect the Service schema and confirm selectors, ports and target ports carry ingress traffic toward the intended workload.
- Inspect ready backend endpoints (reference, Kubernetes Documentation, 18 min)
Use EndpointSlices to prove whether ready pod addresses and ports are actually available to the Service.
- Validate the TLS secret object (reference, Kubernetes Documentation, 15 min)
Check its type, namespace and keys while validating certificate material without exposing it in commands or logs.
- Read events and controller status (reference, Kubernetes Documentation, 16 min)
Collect resource events and backend references that explain rejected or partially applied configuration.
- Bypass ingress to test the backend (guide, Kubernetes Documentation, 28 min)
Use a direct port-forward plus a hostname-aware external request to determine whether failure is in the application or ingress path.