Update kubernetes_install.sh
This commit is contained in:
parent
f6d9318f1a
commit
215874e6e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user