github.com/cilium/cilium@v1.16.2/Documentation/installation/k8s-install-kubeadm.rst (about)

     1  .. only:: not (epub or latex or html)
     2  
     3      WARNING: You are looking at unreleased Cilium documentation.
     4      Please use the official rendered version released here:
     5      https://docs.cilium.io
     6  
     7  **************************
     8  Installation using kubeadm
     9  **************************
    10  
    11  This guide describes deploying Cilium on a Kubernetes cluster created with
    12  ``kubeadm``.
    13  
    14  For installing ``kubeadm`` on your system, please refer to `the official
    15  kubeadm documentation
    16  <https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/>`_
    17  The official documentation also describes additional options of kubeadm which
    18  are not mentioned here.
    19  
    20  If you are interested in using Cilium's kube-proxy replacement, please
    21  follow the :ref:`kubeproxy-free` guide and skip this one.
    22  
    23  Create the cluster
    24  ==================
    25  
    26  Initialize the control plane via executing on it:
    27  
    28  .. code-block:: shell-session
    29  
    30     kubeadm init
    31  
    32  .. note::
    33     If you want to use Cilium's kube-proxy replacement, kubeadm needs to skip
    34     the kube-proxy deployment phase, so it has to be executed with the
    35     ``--skip-phases=addon/kube-proxy`` option:
    36  
    37     .. code-block:: shell-session
    38  
    39        kubeadm init --skip-phases=addon/kube-proxy
    40  
    41     For more information please refer to the :ref:`kubeproxy-free` guide.
    42  
    43  Afterwards, join worker nodes by specifying the control-plane node IP address
    44  and the token returned by ``kubeadm init``:
    45  
    46  .. code-block:: shell-session
    47  
    48     kubeadm join <..>
    49  
    50  Deploy Cilium
    51  =============
    52  
    53  .. include:: k8s-install-download-release.rst
    54  
    55  Deploy Cilium release via Helm:
    56  
    57  .. parsed-literal::
    58  
    59     helm install cilium |CHART_RELEASE| --namespace kube-system
    60  
    61  .. include:: k8s-install-validate.rst
    62  
    63  .. include:: next-steps.rst