I’m testing Rancher in last release (v2.4.8) with vsphere as cloud-provider.
When I create a cluster, I need to have for my nodes, some specific configuration like static IP, DNS, NTP and so on. “Cloud-init” is able to do this. I tested by passing a URL to get “cloud-init” file and it’s working fine.
I would like to use one template for all my nodes. But I want to configure static IP address for each. So, to construct my “cloud-init” file, I need more informations like “node name”. Is it possible to add dynamic parameter to URL used to get “cloud-init” file in the template node?
The idea is to have something like: “http://my.site.com/cloud-init.php?nodename=$nodename”.
Thanks for your help,
Note: for now I don’t want to use a tool like Terraform to provision nodes and create cluster. My goal is to use only Rancher!