ansible
$ brew install ansible
$ ansible-playbook -i hosts control-plane-playbook.yml
$ ansible-playbook -i hosts node-playbook.yml
pod network is not working
$ kubectl delete -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
$ ssh [email protected] -i ~/.ssh/id_rsa
$ sudo ip link delete cni0
$ sudo ip link delete flannel.1
$ sudo ip link delete veth*
$ exit
$ ssh [email protected] -i ~/.ssh/id_rsa
$ sudo ip link delete cni0
$ sudo ip link delete flannel.1
$ sudo ip link delete veth*
$ exit
$ ssh [email protected] -i ~/.ssh/id_rsa
$ sudo ip link delete cni0
$ sudo ip link delete flannel.1
$ sudo ip link delete veth*
$ exit
$ kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml