Update weavenet_setup.sh
This commit is contained in:
parent
43f11e5a90
commit
f6d9318f1a
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
## Initialize Kubernetes
|
## Initialize Kubernetes
|
||||||
|
swapoff -a
|
||||||
kubeadm init --ignore-preflight-errors=SystemVerification
|
kubeadm init --ignore-preflight-errors=SystemVerification
|
||||||
mkdir -p $HOME/.kube
|
mkdir -p $HOME/.kube
|
||||||
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
||||||
|
Loading…
Reference in New Issue
Block a user