We have some RKE2 clusters where some worker nodes...
# rke2
g
We have some RKE2 clusters where some worker nodes have a public IP on a network that the control/etcd nodes are not on so we need to tell the kube-apiserver to use the internal IP so I figured putting
Hostname
first instead of last in
kubelet-preferred-address-types
would do it but it looks like none of the nodes are configured to use our cloud DNS at the moment. Is there a better way to configure the Node IP dynamically at cluster creation time such as finding the one that's on a specific networking and using that instead of the primary interface?