github.com/cilium/cilium@v1.16.2/Documentation/installation/kind-configure.rst (about)

     1  Configuring kind cluster creation is done using a YAML configuration file.
     2  This step is necessary in order to disable the default CNI and replace it with
     3  Cilium.
     4  
     5  Create a :download:`kind-config.yaml <./kind-config.yaml>` file based on the
     6  following template. It will create a cluster with 3 worker nodes and 1
     7  control-plane node.
     8  
     9  .. literalinclude:: kind-config.yaml
    10     :language: yaml
    11  
    12  By default, the latest version of Kubernetes from when the kind release was
    13  created is used.
    14  
    15  To change the version of Kubernetes being run,  ``image`` has to be defined for
    16  each node. See the
    17  `Node Configuration <https://kind.sigs.k8s.io/docs/user/configuration/#nodes>`_
    18  documentation for more information.
    19  
    20  .. tip::
    21      By default, kind uses the following pod and service subnets::
    22  
    23          Networking.PodSubnet     = "10.244.0.0/16"
    24          Networking.ServiceSubnet = "10.96.0.0/12"
    25  
    26      If any of these subnets conflicts with your local network address range,
    27      update the ``networking`` section of the kind configuration file to specify
    28      different subnets that do not conflict or you risk having connectivity
    29      issues when deploying Cilium. For example:
    30  
    31      .. code-block:: yaml
    32  
    33           networking:
    34             disableDefaultCNI: true
    35             podSubnet: "10.10.0.0/16"
    36             serviceSubnet: "10.11.0.0/16"