Revision 95c1e72d7640528ee7013d414168e98b155424bc authored by Martynas Pumputis on 21 July 2023, 12:45:19 UTC, committed by Martynas Pumputis on 21 July 2023, 12:45:19 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 8053488
Raw File
requirements-k3s.rst
To install Cilium on `k3s <https://rancher.com/docs/k3s/latest/en/quick-start/>`_,
perform the following steps:

**Default Configuration:**

=============== =============== ==============
Datapath        IPAM            Datastore
=============== =============== ==============
Encapsulation   Cluster Pool    Kubernetes CRD
=============== =============== ==============

**Requirements:**

* Install your k3s cluster as you normally would but making sure to disable
  support for the default CNI plugin and the built-in network policy enforcer so
  you can install Cilium on top:

.. code-block:: shell-session

    curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC='--flannel-backend=none --disable-network-policy' sh -

* For the Cilium CLI to access the cluster in successive steps you will need to
  use the ``kubeconfig`` file stored at ``/etc/rancher/k3s/k3s.yaml`` by setting
  the ``KUBECONFIG`` environment variable:

.. code-block:: shell-session

    export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
back to top