kubectl get pods -A -o wide | grep dns
kube-system kube-dns-5bfd847c64-bkkhf 4/4 Running 0 80m 10.108.0.5 gke-vanilla-default-pool-ddebe65c-pkzw <none> <none>
kubectl debug -n kube-system -it kube-dns-5bfd847c64-bkkhf --image=busybox:1.28 --target=dnsmasq
Targeting container "dnsmasq". If you don't see processes from this container it may be because the container runtime doesn't support this feature.
Defaulting debug container name to debugger-qz6cb.
If you don't see a command prompt, try pressing enter.