Update kubernetes_install.sh

This commit is contained in:
Torma Kristóf 2019-03-11 17:21:43 +01:00 committed by GitHub
parent f6d9318f1a
commit 215874e6e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,11 +30,11 @@ then
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
swapoff -a
fi
#Disabling swap for Kubernetes
sysctl net.bridge.bridge-nf-call-iptables=1 > /dev/null
swapoff -a
if [ -z "$CLIENT" ]
then