Merge "KubeADM-AIO: Fix centos deployment bridge-nf-call-iptables check"

This commit is contained in:
Zuul 2017-10-27 15:13:56 +00:00 committed by Gerrit Code Review
commit d4c0e5f8be

View File

@ -4,6 +4,7 @@ Documentation=http://kubernetes.io/docs/
[Service] [Service]
ExecStartPre=/sbin/swapoff -a ExecStartPre=/sbin/swapoff -a
ExecStartPre=/bin/bash -c "echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables"
ExecStart=/usr/bin/kubelet ExecStart=/usr/bin/kubelet
Restart=always Restart=always
StartLimitInterval=0 StartLimitInterval=0