Hi c2_confluent,
Thank you for your patience while we are reviewing your case.
For scaling down CoreDNS, read https://learn.microsoft.com/en-us/azure/aks/coredns-custom#configure-coredns-pod-scaling on how to leverage configmap to control coredns replica count according to node count.
For configuring a CoreDNS deployment, check the kubectl -n kube-system get svc -oyaml kube-dns and see the selector used is k8s-app: kube-dns.
This should be informative enough for a customer with sufficient Kubernetes knowledge to start.
Again, this is not recommended and not supported. IMO “exact commands” shouldn’t be something we deliver to customer.
About your question on Update on CoreDNS version: We plan to upgrade coredns to 1.11 for k8s 1.31.
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it."