Hello everyone. I am trying to add a rke2 cluster ...
# rke2
s
Hello everyone. I am trying to add a rke2 cluster inside my harvester cluster. The deployment fails at the point where the harvester-cloud-provider tries to reach the rancher instance to register. The reason is that I have a split dns setup and my internal hostnames are not exposed outside. The harvester-cloud-provider container has the google dns servers injected within /etc/resolv.conf. Core-dns waits for the cloud-provider to fully come up, which it can't. I would appreciate any pointers on how would I go about injecting my internal DNS servers into the harvester-cloud-provider container? Cross posted from #C01GKHKAG0K
c
The Harvester CCM should use host network and host DNS, and the harvester server address needs to be resolvable from the node. Check your nodes resolv.conf and make sure it points at a valid upstream resolver that can resolve your harvester address