View dns-load.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl logs -f -l k8s-app=kube-dns -n kube-system | |
# kubectl edit cm/coredns -n kube-system | |
## log | |
## cache 30 | |
# kubectl scale deployment/coredns -n kube-system --replicas=1 | |
# kubectl get pods –watch | |
# kubectl get pods -l k8s-app=kube-dns -n kube-system -o wide | |
# kubectl scale deployment/coredns -n kube-system --replicas=2 | |
apiVersion: apps/v1 |