mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-19 16:40:58 +00:00
Fix flannel configuration to support multiple flannel networks.
This commit is contained in:
@@ -103,7 +103,7 @@ spec:
|
|||||||
- name: flannel-etcdctl
|
- name: flannel-etcdctl
|
||||||
image: quay.io/coreos/etcd:latest
|
image: quay.io/coreos/etcd:latest
|
||||||
command: ["etcdctl"]
|
command: ["etcdctl"]
|
||||||
args: ["--endpoints=http://10.1.1.1:12379", "set", "/flannel2/network/config", '{ "Network": "10.5.0.0/16", "Backend": {"Type": "vxlan"}}']
|
args: ["--endpoints=http://10.1.1.1:12379", "set", "/flannel2/network/config", '{ "Network": "10.5.0.0/16", "Backend": {"Type": "vxlan", "VNI": 2}}']
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
nodeName: kube-master
|
nodeName: kube-master
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
Reference in New Issue
Block a user