Hello, recently we found that our cluster does not correctly resolving dns
configuration of aws eks cluster
. So after we implemented:
kubernetes_network_config {
service_ipv4_cidr = "10.100.0.0/16"
}
Inside of all pods we get wrong nameserver
/ # cat /etc/resolv.conf
nameserver 172.20.0.10
search default.svc.cluster.local svc.cluster.local cluster.local eu-central-1.compute.internal
options ndots:5
At the end it should be 10.100.0.10
but not 172.20.0.10
Is there any idea why it is impacting?