Back to all scenarios
Scenario #180
Networking
K8s v1.19, OpenStack
Intermittent Network Connectivity Due to Overloaded Overlay Network
Pods experienced intermittent network connectivity issues due to an overloaded overlay network that could not handle the traffic.
Find this helpful?
What Happened
An overlay network (Flannel) used to connect pods was overwhelmed due to high traffic volume, resulting in intermittent packet drops and network congestion.
Diagnosis Steps
- 1Used kubectl exec to trace packet loss between pods and detected intermittent connectivity.
- 2Monitored network interfaces and observed high traffic volume and congestion on the overlay network.
Root Cause
The overlay network (Flannel) could not handle the traffic load due to insufficient resources allocated to the network component.
Fix/Workaround
• Reconfigured the overlay network to use a more scalable network plugin.
• Increased resource allocation for the network components and scaled the infrastructure to handle the load.
Lessons Learned
Ensure that network plugins are properly configured and scaled to handle the expected traffic volume.
How to Avoid
- 1Monitor network traffic patterns and adjust resource allocation as needed.
- 2Consider using more scalable network plugins for high-traffic workloads.