diff --git a/cluster/manifests/flannel/configmap.yaml b/cluster/manifests/flannel/configmap.yaml index 36a0ae086d..35c8c8c9a6 100644 --- a/cluster/manifests/flannel/configmap.yaml +++ b/cluster/manifests/flannel/configmap.yaml @@ -8,12 +8,17 @@ metadata: data: cni-conf.json: | { - "name": "podnet", - "type": "flannel", - "delegate": { + "name": "podnet", + "cniVersion": "0.3.1", + "plugins": [ + { + "type": "flannel", + "delegate": { "isDefaultGateway": true, "hairpinMode": true + } } + ] } net-conf.json: | { diff --git a/cluster/manifests/flannel/daemonset.yaml b/cluster/manifests/flannel/daemonset.yaml index 3e24877c9c..736ffed258 100644 --- a/cluster/manifests/flannel/daemonset.yaml +++ b/cluster/manifests/flannel/daemonset.yaml @@ -35,7 +35,7 @@ spec: - name: CNI_CONFIG_SOURCE value: /etc/kube-flannel/cni-conf.json - name: CNI_CONFIG_TARGET - value: /etc/cni/net.d/10-flannel.conf + value: /etc/cni/net.d/10-flannel.conflist resources: requests: cpu: 25m