Back to all scenarios
Scenario #127
Networking
K8s v1.21, GKE
Loss of Service Traffic Due to Missing Ingress Annotations
Loss of service traffic after ingress annotations were incorrectly set, causing the ingress controller to misroute traffic.
Find this helpful?
What Happened
A misconfiguration in the ingress annotations caused the ingress controller to fail to route external traffic to the correct service.
Diagnosis Steps
- 1Inspected ingress resource annotations and found missing or incorrect annotations for the ingress controller.
- 2Corrected the annotations and re-applied the ingress configuration.
Root Cause
Incorrect ingress annotations caused routing failures.
Fix/Workaround
• Fixed the ingress annotations and re-deployed the ingress resource.
• Verified traffic flow from external sources to the service was restored.
Lessons Learned
Ensure that ingress annotations are correctly specified for the ingress controller in use.
How to Avoid
- 1Double-check ingress annotations before applying them to production.
- 2Automate ingress validation as part of the CI/CD pipeline.