Cloud native networking and network security
open coreApache-2.0self-hostablefree
Calico is Tigera's open source networking and network security for Kubernetes, virtual machines and bare-metal hosts. As a CNI plugin it gives pods routable IPs with BGP or native routing (no overlay needed) or VXLAN and IP-in-IP overlays, on eBPF, nftables, iptables, Windows or VPP data planes, and enforces Kubernetes network policies plus its own: tiers with precedence, global and deny-and-log rules, staged policies that preview before they enforce, and AdminNetworkPolicy. It encrypts pod traffic with WireGuard, shows flows in the Whisker UI, and ships Calico Ingress Gateway, a distribution of Envoy Gateway. Calico Open Source is Apache-2.0 and installs through the Tigera operator; Calico Cloud (hosted, per vCPU hour) and Calico Enterprise (self-managed) add observability, egress gateways and threat detection on top.
Ways to install
On Kubernetes
Package managers
Problems it solves
- pick a CNI plugin for our Kubernetes cluster that also enforces network policies
- give pods routable IP addresses on our data centre network with BGP instead of an overlay
- peer Kubernetes nodes with our top-of-rack routers over BGP
- write cluster-wide default-deny network rules that individual teams can't override
- order network policies in tiers so the security team's rules always run first
- test a new network policy in staging mode to see what it would block before enforcing it
- encrypt pod-to-pod traffic between Kubernetes nodes with WireGuard
- apply the same firewall policies to Kubernetes pods, VMs and bare-metal hosts
- Kubernetes networking that works on Windows nodes as well as Linux
- add network policy enforcement to a cluster that uses flannel for pod networking
- an eBPF data plane for Kubernetes without switching away from our current network policies
- see which flows between pods were allowed or denied in a web UI
- network policies for OpenStack VMs and OpenShift clusters from the same tool
Features
- CNI plugin with BGP or native routing, VXLAN and IP-in-IP overlays, and several IPAM modes
- eBPF, nftables, iptables, Windows (HNS) and VPP data planes
- full Kubernetes NetworkPolicy, AdminNetworkPolicy and BaselineAdminNetworkPolicy support
- Calico policies: tiers with precedence, global policies, deny and log actions, label-based rules for non-Kubernetes workloads
- staged policies that preview a policy's effect without enforcing it
- WireGuard encryption of pod-to-pod traffic
- Whisker, a web UI for flow logs
- Calico Ingress Gateway, an upstream distribution of Envoy Gateway
- direct peering with infrastructure, including dual top-of-rack peering
- Tigera operator, Helm chart (tigera-operator) and calicoctl CLI
View 2 more
- runs on Kubernetes, OpenShift, OpenStack and bare-metal hosts
- x86-64, arm64, ppc64le and s390x processors
Limitations
- Can't be added to a cluster that already uses another CNI: Calico's docs say you can't migrate such a cluster to Calico4
- Doesn't run beside another network provider, except flannel and some platform CNIs (AWS VPC CNI, Azure VNet CNI)4
Ways to run it
Calico Open Source
Not included
- egress gateways, threat detection and enterprise support, which Calico Cloud and Calico Enterprise add
You arrange
- a Kubernetes cluster on Linux kernel 5.10 or later
- support from the community
Calico Cloud
$0.025 per vCPU hour; Free Tier for one cluster78
Only in this edition
- ingress gateway, observability, policy management, egress gateways and threat detection
- enterprise support
- 7-day log retention
- multi-cluster support
You arrange
- your own Kubernetes clusters, connected to Calico Cloud
Calico Enterprise
Only in this edition
- the same features as Calico Cloud, with custom log retention
You arrange
- your own Kubernetes clusters to run it
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Calico does.
