Overview
Explore advanced Linux kernel networking monitoring techniques in this 44-minute conference talk from SREcon22 APAC. Dive into the complexities of Linux networking stacks, especially in containerized environments, and learn about common issues faced by cloud Kubernetes providers. Discover how Alibaba Cloud developed a kernel monitor tool called net-exporter to troubleshoot networking problems. Gain insights into container networking mechanics, packet transmission processes, and root causes of network issues. Learn to implement and utilize net-exporter for effective network troubleshooting. The talk covers container and Kubernetes networking semantics, incident triage, existing and ideal monitoring methods, network stack operations, packet dropping and latency monitoring, metrics and events, runtime optimizations, and compilation optimizations.
Syllabus
Intro
Container networking
Kubernetes networking semantics
An incident - Triage
An incident - Conclusion
Existing monitoring methods
Ideal monitoring method
Network stack
Receiving data what may go wrong
Sending data what may go wrong
Targets and Methods
Monitoring packet droppings
Monitoring packet latencies
Metrics and Events
Putting all together
Runtime Optimizations
Compiling Optimizations
Taught by
USENIX