Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This setup will make weave behave correctly (the pod-network-cidr). The `HOST_IP` should be the IP the nodes can access.
- ```bash
- kubeadm init --apiserver-advertise-address=HOST_IP --pod-network-cidr=10.4.0.0/16
- makedir -p /home/username/.kube
- cp -i /etc/kubernetes/admin.conf /home/username/.kube/config
- chown arsham:arsham /home/arsham/.kube/config
- ```
Add Comment
Please, Sign In to add comment