- CentOS 7.x
- python 3.7.0 (pip 20.2.4)
- Ansible 2.10.3
$ brew tap esolitos/ipa
$ brew install sshpass
$ hoge
$ exec join command
$ sudo systemctl daemon-reload
$ sudo systemctl restart kubelet
$ scp -P {port} -i ~/.ssh/id_rsa_k8s k8s@{master_global_ip}:/home/k8s/.kube/config ./.admin.conf
$ export KUBECONFIG=~/.kube/config:.admin.conf
$ kubectl config current-context
$ kubectl get nodes