Skip to content
SPECIFICTION
Get listed

Cilium vs kube-network-policies

Cilium

cilium.io

kube-network-policies

kube-network-policies.sigs.k8s.io

Side by side

FigureCiliumkube-network-policies
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · Container Networking Software7.8 (#7)8.1 (#4)
IntegrationsCilium documentation describes integrations with Prometheus and Grafana for metrics and dashboards.ANP and BANP support integrates with the Kubernetes Network Policy API custom resource definitions.
Project statusCilium identifies itself as a CNCF graduated project.The documentation says this is not an officially supported Google product and is not eligible for Google's Open Source Software Vulnerability Rewards Program.
PurposeCilium is an open source, cloud native solution for providing, securing, and observing network connectivity between workloads, powered by eBPF.A userspace implementation that enforces Kubernetes network policies by intercepting packets with Linux NFQUEUE.

Plans

Cilium

  • CiliumFree

Cilium pricing →

kube-network-policies

  • Open-source projectFree

kube-network-policies pricing →

In their own words

Cilium

Cilium is an open-source, cloud-native system for providing, securing, and observing network connectivity between workloads using eBPF. Its networking capabilities include CNI, Layer 4 load balancing, Cluster Mesh, kube-proxy replacement, BGP, service mesh, Gateway API, IPv6, host firewall, and ingress. Network policies can enforce identity-aware rules from L3 through L7, including DNS- and HTTP-aware filtering. Security features include runtime protection and transparent encryption of managed host and endpoint traffic using IPsec, WireGuard, or ztunnel; ztunnel support is marked beta. For visibility, Cilium lists service maps, metrics and tracing export, network flow logs, and protocol visibility. Hubble, built on Cilium and eBPF, provides visibility into service communication and behavior. Documentation describes Prometheus and Grafana integrations and Kubernetes support for services including GKE, AKS, EKS, OpenShift, RKE, k3s, and Alibaba ACK. Its container image requires AMD64 or AArch64 hosts running Linux kernel 5.10 or later, or an equivalent kernel such as 4.18 on RHEL 8.10. For environments above 500 nodes, the quick installation guide directs readers to large-environment guidance or specific datapath modes.

Visit cilium.io

kube-network-policies

kube-network-policies is a free, open-source userspace implementation of Kubernetes network policies for Linux. It uses Linux NFQUEUE and nftables to capture and evaluate network traffic in userspace. The project supports standard Kubernetes NetworkPolicy, AdminNetworkPolicy (ANP) and BaselineAdminNetworkPolicy (BANP). It can identify packets from pods targeted by active policies and capture those selectively; enabling ANP or BANP disables that optimization and diverts all node traffic to userspace for evaluation. Its documented evaluation pipeline checks logging, Admin Network Policy, standard NetworkPolicy, Baseline Admin Network Policy, then allows traffic by default. ANP and CNP can match external domain names using an in-memory cache of DNS A and AAAA answers. Structured JSON logs aid troubleshooting, and the PolicyEvaluator plugin pipeline can take custom validation logic. Installation instructions cover raw Kubernetes manifests and Helm. The local development setup uses KIND and lists Docker, KIND and kubectl as prerequisites. ANP or BANP also require experimental Network Policy API CRDs before deployment. The project lists an Apache-2.0 license and directs users to the Kubernetes #sig-network Slack channel and mailing list for maintainers.

Visit kube-network-policies.sigs.k8s.io