Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleAdd Worker
collapsetrue
# Use this playbook to add a worker node to the cluster
$ ansible-playbook -i inventory/mycluster/hosts.yaml -b scale.yml [--limit=<node_name>name1>,<node_name2>]

To save further processing time, you can use --limit=<node_name> flag to limit KS to avoid disturbing other nodes in the cluster. Before launching the playbook with this flag, it is advisable to launch the facts.yml playbook to refresh facts cache for all nodes.

...