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
|
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
|
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
|
||||||
|
swapoff -a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Disabling swap for Kubernetes
|
#Disabling swap for Kubernetes
|
||||||
sysctl net.bridge.bridge-nf-call-iptables=1 > /dev/null
|
sysctl net.bridge.bridge-nf-call-iptables=1 > /dev/null
|
||||||
swapoff -a
|
|
||||||
|
|
||||||
if [ -z "$CLIENT" ]
|
if [ -z "$CLIENT" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user