GCI: fix the issue #26379

This commit is contained in:
Andy Zheng 2016-06-07 17:34:04 -07:00
parent 0d3be6a316
commit 64ffe90501

View File

@ -356,6 +356,11 @@ function start-kubelet {
fi
echo "KUBELET_OPTS=\"${flags}\"" > /etc/default/kubelet
# Delete docker0 to avoid interference
iptables -t nat -F || true
ip link set docker0 down || true
brctl delbr docker0 || true
systemctl start kubelet.service
}