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 :
add a 'switch' var to enable this feature (something like enable_node_addition)
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 :
POST /clusters/{clusterName}/hosts
POST /clusters/{clusterName}/hostTemplates
POST /clusters/{clusterName}/hostTemplates/{hostTemplateName}/commands/applyHostTemplate
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 :
I've already identified these API Calls needed :