From 1d3634237f9060cfb3263faa665fdfb6f00660f8 Mon Sep 17 00:00:00 2001 From: intlabs Date: Wed, 25 Oct 2017 11:29:32 -0500 Subject: [PATCH] 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 --- .../playbooks/roles/deploy-kubelet/templates/kubelet.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/templates/kubelet.service.j2 b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/templates/kubelet.service.j2 index eb4519758..62a4e7740 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/templates/kubelet.service.j2 +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubelet/templates/kubelet.service.j2 @@ -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