Skip to content

CNI Configuration Example#

The network section of the mke4.yaml configuration file renders as follows:

network:
    cplb:
      disabled: true
    kubeProxy:
      iptables:
        minSyncPeriod: 0s
        syncPeriod: 0s
      ipvs:
        minSyncPeriod: 0s
        syncPeriod: 0s
        tcpFinTimeout: 0s
        tcpTimeout: 0s
        udpTimeout: 0s
      metricsBindAddress: 0.0.0.0:10249
      mode: iptables
      nftables:
        minSyncPeriod: 0s
        syncPeriod: 0s
    multus:
      enabled: false
    nllb:
      disabled: true
    nodePortRange: 32768-35535
    providers:
    - enabled: true
      extraConfig:
        cidrV4: 192.168.0.0/16
        linuxDataplane: Iptables
        loglevel: Info
      provider: calico
    - enabled: false
      provider: custom
    serviceCIDR: 10.96.0.0/16

Danger

If you are installing the Iptables data plane and you are specifying the full specification using the value.yaml file, you must not provide values for the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT parameters.