Kubernetes/Cluster/CoreDNS: Difference between revisions

From Omnia
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
== CoreDNS Scale ==
== CoreDNS Scale ==


kubectl -n kube-system rollout restart deployment coredns
kubectl -n kube-system rollout restart deployment coredns


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




replicas: 3
replicas: 3
k -n kube-system edit deployment coredns
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=1 deployment.apps/coredns scaled


kubectl scale deployments.apps -n kube-system coredns --replicas=3 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
kubectl describe deployment.apps -n kube-system coredns


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

Latest revision as of 22:10, 22 December 2023

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