-
Configure hosts file
-
Run the initial playbook
ansible-playbook -i hosts initial.yml
- Install kubernetes
ansible-playbook -i hosts kube-dependencies.yml
- Configuration
ansible-playbook -i hosts control-plane.yml
- SSH into the node
(ssh test@<ip>
)
- Remove control node taint
kubectl taint nodes --all node-role.kubernetes.io/master-
Miscellaneous:
- Easy way to list node information:
virsh net-dhcp-leases --network default
Credit: Based on playbooks from https://www.digitalocean.com/community/tutorials/how-to-create-a-kubernetes-cluster-using-kubeadm-on-ubuntu-18-04