Diagnose Kubernetes Ingress routing and TLS

8 steps · about 2 h 33 min · Intermediate

  1. Understand the Ingress request model (doc, Kubernetes Documentation, 24 min)

    Map hosts, paths, backends and TLS to the controller that must implement them.

  2. 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.

  3. Match the intended IngressClass (reference, Kubernetes Documentation, 14 min)

    Check class selection and controller ownership when rules exist but no data-plane configuration appears.

  4. 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.

  5. 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.

  6. 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.

  7. Read events and controller status (reference, Kubernetes Documentation, 16 min)

    Collect resource events and backend references that explain rejected or partially applied configuration.

  8. 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.