/install-kubernetes-with-ansible

Install Kubernetes and add node to cluster with Ansible

MIT LicenseMIT

Install Kubernetes nodes with ansible

This script assume you already configure access from your ansible host to your nodes:
To run this ansible play book, you need all 3 files:
instkuber-node.yml is based on instruction of installation kubernetes on the offical site
kube-nodes is list of nodes that you want install kubeadm, kubectl, and kubelet to:
join-command is the script to join these newly kubernetes nodes to an existing cluster (master)
You must update join-command content with the out put of "kubeadm token create --print-join-command" of your cluster master.

ansible-playbook -i kube-nodes instkuber-nodes.yml --ask-become-pass