Good day,
is it possible to set a hostname on per-node basis during cluster creation.
For example may I use something like:
masters-1 {
count: 1
instance: ${instances.m5x} {
tags {
group: master-1
}
hostname: master-1.example.com
}
worker-1 {
count: 1
instance: ${instances.t2l} {
tags {
group: workers
}
hostname: worker-1.example.com
}
worker-2 {
count: 1
instance: ${instances.t2xl} {
tags {
group: workers
}
hostname: worker-2.example.com
}
I can not come up with a way to set up predefined hostnames for every node in director. In the past I've used terraform and chef for provisioning and it was obvious how to set hostname, create /etc/hosts file and etc.