...
You may want to add worker, master or etcd nodes to your existing cluster. This can be done by re-running the cluster.yml playbook, after adding a new node in the inventory file.
Add worker
As you may have noticed by now, the use of the playbook takes a few minutes to complete the various operations. If you only need to add a worker node to the cluster, you can use a specific playbook for this task, in order to save a few minutes.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
# You can use --limit flag to limit KS to avoid disturbing other nodes in the cluster
$ ansible-playbook -i inventory/mycluster/hosts.yaml -b scale.yml [--limit=<node_name>] |