Interview Prep/Networking/Containers, Kubernetes, IPv6 and packet captures

Requests to your Ingress hostname get `404 Not Found` from the ingress-nginx default backend.

BeginnerTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer

Likely causes → The controller didn't match any rule: missing or wrong ingressClassName (so the controller ignores the Ingress), the host doesn't match the request's Host header, or the path/pathType doesn't match.

Diagnose →

kubectl get ingress -A
kubectl get ingressclass
kubectl describe ingress myapp       # events: "Scheduled for sync" means the controller picked it up
curl -v -H 'Host: app.example.com' http://<ingress-lb>/

Fix → Set spec.ingressClassName: nginx, correct the host, and use pathType: Prefix with path: / for a catch-all.

Prevent → Lint manifests (kubeconform) and have one default IngressClass annotated ingressclass.kubernetes.io/is-default-class: "true".

All Networking questions Roadmap: Networking for DevOps

More on Containers, Kubernetes, IPv6 and packet captures