I followed the instructions in https://github.com/kurokobo/awx-on-k3s
to setup AWX in a k3s cluster.
With this setup, the dnsPolicy is set to ClusterFirst, which I understand to mean that if the fqdn cannot be resolved in the cluster, try and resolve it via the internet.
The problem I have is that we have a large number of nodes in a domain that is not resolvable from the internet.
At the moment I’m having to use IP addresses, which works but is not ideal.
My understanding is that if the dnsPolicy is set to Default, the cluster will use the DNS settings in the host.
Unfortunately I know next to nothing about Kubernetes (but I’m learning).
How do I override or change the dnsPolicy?