Back to Cilium

Requirements

Documentation/network/kubernetes/requirements.rst

1.19.32.1 KB
Original Source

.. only:: not (epub or latex or html)

WARNING: You are looking at unreleased Cilium documentation.
Please use the official rendered version released here:
https://docs.cilium.io

.. _k8s_requirements:


Requirements


Kubernetes Version

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

  • 1.31
  • 1.32
  • 1.33
  • 1.34

Additionally, Cilium runs e2e tests against various cloud providers' managed Kubernetes offerings using multiple Kubernetes versions. See the following links for the current test matrix for each cloud provider:

  • :git-tree:AKS <.github/actions/azure/k8s-versions.yaml>
  • :git-tree:EKS <.github/actions/eks/k8s-versions.yaml>
  • :git-tree:GKE <.github/actions/gke/k8s-versions.yaml>

System Requirements

See :ref:admin_system_reqs for all of the Cilium system requirements.

Enable CNI in Kubernetes

:term:CNI - Container Network Interface is the plugin layer used by Kubernetes to delegate networking configuration and is enabled by default in Kubernetes 1.24 and later. Previously, CNI plugins were managed by the kubelet using the --network-plugin=cni command-line parameter. For more information, see the Kubernetes CNI network-plugins documentation <https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/>_.

Enable automatic node CIDR allocation (Recommended)

Kubernetes has the capability to automatically allocate and assign a per node IP allocation CIDR. Cilium automatically uses this feature if enabled. This is the easiest method to handle IP allocation in a Kubernetes cluster. To enable this feature, simply add the following flag when starting kube-controller-manager:

.. code-block:: shell-session

    --allocate-node-cidrs

This option is not required but highly recommended.