In a production cluster you will have 3 controller nodes but you can have many worker nodes. To add one or more worker nodes after the initial setup, you can simply
- on node
c1where ansible files are, add one or more nodes to theInventoryfile - review 200* files, usually you will need to run some of them (etc-hosts? firewall?)
- run
ansible-playbook 340-workers.yaml. If you wish to speed this up you can even use--limit new-worker-nameto run it only on the newly added node. - in the end verify with
kubectl get nodes