guide icon indicating copy to clipboard operation
guide copied to clipboard

Can we add a node without destroying the whole setup?

Open melalj opened this issue 6 years ago • 4 comments

Thanks for this guide! I'm wondering if we can scale up the nodes without rebuilding the whole stack from scratch?

melalj avatar Mar 11 '19 13:03 melalj

Maybe an overshoot, but you can have a look on Rancher (a GUI orchestration tool for k8s). You can add and remove Nodes easily by clicking in your browser as well as saving templates of your server configurations. Here are screenshots of the "edit cluster" option:

Bildschirmfoto 2019-03-15 um 10 10 15 Bildschirmfoto 2019-03-15 um 10 10 05

exocode avatar Mar 15 '19 09:03 exocode

This should work without much hassle using hobby-kube/provisioning.

Even though I never tried this, you should be able to change the node_count variable and run terraform apply. Make sure you have a backup ready before trying this.

pstadler avatar Mar 17 '19 10:03 pstadler

I tested incrementing from 3 to 4 and I found it worked fine, one last thing I've not checked yet is it might require re-running some part of hobby-kube/manifests storage to add some rook stuff to the new node

rach-sharp avatar Oct 15 '19 18:10 rach-sharp

Well, not sure about Rook. It’s best to try or ask the Rook devs, they‘re quite responsive.

pstadler avatar Oct 15 '19 19:10 pstadler