Kubernetes Compatibility

Cilium is compatible with multiple Kubernetes API Groups. Some are deprecated or beta, and may only be available in specific versions of Kubernetes.

All Kubernetes versions listed are e2e tested and guaranteed to be compatible with Cilium. Older Kubernetes versions not listed in this table do not have Cilium support. Newer Kubernetes versions, while not listed, will depend on the backward compatibility offered by Kubernetes.

k8s Versionk8s NetworkPolicy APICiliumNetworkPolicy
1.16, 1.17, 1.18, 1.19, 1.20, 1.21cilium.io/v2 has a CustomResourceDefinition

Cilium CRD schema validation

Cilium uses a CRD for its Network Policies in Kubernetes. This CRD might have changes in its schema validation, which allows it to verify the correctness of a Cilium Clusterwide Network Policy (CCNP) or a Cilium Network Policy (CNP).

The CRD itself has an annotation, io.cilium.k8s.crd.schema.version, with the schema definition version. By default, Cilium automatically updates the CRD, and its validation, with a newer one.

The following table lists all Cilium versions and their expected schema validation version:

Cilium VersionCNP and CCNP Schema Version
v1.8.0-rc11.19
v1.8.0-rc21.20
v1.8.0-rc31.20
v1.8.0-rc41.20
v1.8.01.21
v1.8.11.21
v1.8.21.21.1
v1.8.31.21.1
v1.8.41.21.2
v1.8.51.21.2
v1.8.61.21.2
v1.8.71.21.2
v1.8.81.21.2
v1.8.91.21.2
v1.8.101.21.2
v1.81.21.2
v1.9.0-rc01.22.1
v1.9.0-rc11.22.2
v1.9.0-rc21.22.2
v1.9.0-rc31.22.3
v1.9.01.22.3
v1.9.11.22.3
v1.9.21.22.3
v1.9.31.22.3
v1.9.41.22.3
v1.9.51.22.3
v1.9.61.22.4
v1.9.71.22.5
v1.9.81.22.5
v1.91.22.5
v1.10.0-rc01.23.1
v1.10.0-rc11.23.2
v1.10.0-rc21.23.2
v1.10.01.23.2
v1.10.11.23.2
v1.101.23.3
latest / master1.23.3