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

This PS resolves an issue with CentOS deployment of the kubelet by
ensuring that `bridge-nf-call-iptables` is enabled.

Change-Id: Ic84f8a2a8c02b2557ea310e16b83426050f928d8
This commit is contained in:
intlabs 2017-10-25 11:29:32 -05:00
parent a41e82e3db
commit 1d3634237f

View File

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