Configure conditional forwarding in coredns - Tanzu Kubernetes Clusters

So how do you conditionally forward dns requests from pods that are running in your Tanzu Kubernetes Clusters to specific DNS Servers? Begin by editing the coredns configMap kubectl -n kube-system edit configmap coredns root@debian:~# k -n kube-system edit configmap coredns configmap/coredns edited Add the following section to the coredns configmap. Replace domain-name and dns-server-ip with the domain name and dns server ip you want to conditionally forward to....

November 11, 2021 · 2 min · Jahnin Rajamoni