Exploring Security Enhancements in Kubernetes CNI: A Deep Dive Into Network Policies
Open Access
- 20 February 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 35322-35338
Abstract
Container Network Interfaces (CNIs) are critical for securing containerized environments, yet their various security features and performance remain under-analyzed. This study presents an in-depth analysis of major CNI plugins (Cilium, Calico, WeaveNet, Kube-router, and Antrea) in Kubernetes environments. We first analyze their architectural characteristics and basic security features (encryption, multi-tenancy, etc.), and then perform a detailed examination of their network policy enforcement mechanisms. To understand the performance implications of policy enforcement, we evaluate Layer 3/4 policy processing, policy complexity scaling, pod scalability, and Layer 7 policy processing. Our results show clear patterns: eBPF-based Cilium maintains 8.9K Mbps throughput under complex L3/4 policies, but drops to 94 Mbps with L7 processing, while Antrea achieves 6.6K Mbps at L7 through HTTP filtering, although performance degrades as policy complexity increases. Under high concurrent pod loads, iptables-based CNIs show a 60-70% reduction in throughput, while Cilium maintains performance within 10% of baseline. These results highlight the trade-offs between architectural choices and security capabilities, and provide actionable insights for optimizing CNI selection based on cloud-native use cases.Keywords
Funding Information
- Incheon National University Research Grant, in 2024
This publication has 21 references indexed in Scilit:
- eBPF: Pioneering Kernel Programmability and System Observability - Past, Present, and Future Insights2024
- Identification and Analysis of Security Issues in Cloud Computing2024
- Kunerva: Automated Network Policy Discovery Framework for ContainersIEEE Access, 2023
- Performance Evaluation of Container Networking Technology2023
- Toward a Cloud-Native Telecom Infrastructure: Analysis and Evaluations of Kubernetes Networking2022
- Extended Berkeley Packet Filter: An Application PerspectiveIEEE Access, 2022
- A Comprehensive Performance Evaluation of Different Kubernetes CNI Plugins for Edge-based and Containerized Publish/Subscribe Applications2021
- Network Policies in Kubernetes: Performance Evaluation and Security Analysis2021
- Virtualization in Cloud Computing: Moving from Hypervisor to Containerization—A SurveyArabian Journal for Science and Engineering, 2021
- Cloud Computing Security Challenges, Threats and Vulnerabilities2021