cloudera-labs / cloudera.cluster

An Ansible collection for lifecycle and management of Cloudera CDP Private Cloud resources on bare metal, IaaS, and PaaS.
Apache License 2.0
32 stars 46 forks source link

No support for node addition #181

Open anisf opened 6 months ago

anisf commented 6 months ago

Currently, this collection does not allow you to add nodes to an existing cluster

So I'm already working on this feature and it should be ready soon My plan :

  1. add a 'switch' var to enable this feature (something like enable_node_addition)
  2. add some conditional steps that will run only if the 'switch' is true. The steps: a. add hosts to the cluster (this will trigger parcel distribution / activation automatically) b. create hostTemplates c. apply hostTemplates to the new nodes

I've already identified these API Calls needed :