Skip to content
This repository was archived by the owner on Oct 31, 2019. It is now read-only.

Commit 6d45fcd

Browse files
committed
Correct flanneld settings
For correct k8s operation, ip-masq must be turned *off* for dockerd but it must be turned *on* for flanneld.
1 parent 309e62a commit 6d45fcd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

instances/k8smaster/scripts/flannel.service

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Documentation=https://github.com/coreos/flannel
55
[Service]
66
Type=notify
77
ExecStart=/usr/local/bin/flanneld \
8+
-ip-masq=true \
89
-iface $IP_LOCAL \
910
-etcd-endpoints $ETCD_SERVER \
1011
-etcd-prefix /flannel/network

instances/k8sworker/scripts/flannel.service

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Documentation=https://github.com/coreos/flannel
55
[Service]
66
Type=notify
77
ExecStart=/usr/local/bin/flanneld \
8+
-ip-masq=true \
89
-iface $IP_LOCAL \
910
-etcd-endpoints $ETCD_SERVER \
1011
-etcd-prefix /flannel/network

0 commit comments

Comments
 (0)