Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
mhewedy committed May 25, 2020
1 parent 5bd20fe commit 636dce0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion etc/samples-provision/k8s/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ sudo sysctl -p

####### configure kubeadm

sudo kubeadm init --pod-network-cidr=10.244.0.0/16 &>~/kubeadm.log
sudo kubeadm init --pod-network-cidr=10.244.0.0/16 | tee ~/kubeadm.log

mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown "$(id -u):$(id -g)" $HOME/.kube/config

## install flannel network
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/bc79dd1505b0c8681ece4de4c0d86c5cd2643275/Documentation/kube-flannel.yml

0 comments on commit 636dce0

Please sign in to comment.