Kubernetes/Cluster/CoreDNS

From Omnia
Revision as of 22:10, 22 December 2023 by Kenneth (talk | contribs) (Created page with "== CoreDNS Scale == kubectl -n kube-system rollout restart deployment coredns DNS service runs entirely on a single node · Issue #1657 · kubernetes/kubeadm · GitHub https...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoreDNS Scale

kubectl -n kube-system rollout restart deployment coredns

DNS service runs entirely on a single node · Issue #1657 · kubernetes/kubeadm · GitHub https://github.com/kubernetes/kubeadm/issues/1657


replicas: 3 k -n kube-system edit deployment coredns


kubectl scale deployments.apps -n kube-system coredns --replicas=1 deployment.apps/coredns scaled

kubectl scale deployments.apps -n kube-system coredns --replicas=3 deployment.apps/coredns scaled

kubectl describe deployment.apps -n kube-system coredns

Why kubernetes needs to have 2 coredns pods - Stack Overflow https://stackoverflow.com/questions/60522474/why-kubernetes-needs-to-have-2-coredns-pods