Back to all scenarios
Scenario #63
Cluster Management
K8s v1.24, Azure AKS
Intermittent Network Latency Due to Misconfigured CNI Plugin
Network latency issues occurred intermittently due to misconfiguration in the CNI (Container Network Interface) plugin.
Find this helpful?
What Happened
Network latency was sporadically high between pods due to improper settings in the CNI plugin.
Diagnosis Steps
- 1Analyzed network metrics and noticed high latency between pods in different nodes.
- 2Checked CNI plugin logs and configuration and found incorrect MTU (Maximum Transmission Unit) settings.
Root Cause
MTU misconfiguration in the CNI plugin caused packet fragmentation, resulting in network latency.
Fix/Workaround
• Corrected the MTU setting in the CNI configuration to match the network infrastructure.
• Restarted the CNI plugin and verified network performance.
Lessons Learned
Proper CNI configuration is essential to avoid network latency and connectivity issues.
How to Avoid
- 1Ensure CNI plugin configurations match the underlying network settings.
- 2Test network performance after changes to the CNI configuration.