fierce-monkey-81592
08/15/2022, 10:58 PMsquare-engine-61315
08/16/2022, 11:47 AMkubectl --namespace kube-system describe deploy/coredns
kind-nightfall-56861
08/16/2022, 12:09 PMkubectl get all -n kube-system
And if it turns out that one or more pods are being a pain in the *, then I'm pretty much forcing them to redeploying.
kubectl delete --all pods -n kube-system --force
square-engine-61315
08/16/2022, 12:12 PMkubectl rollout restart -n kube-system deployment coredns
But you might want to find out why the deployment is failing before you do that. That's what I suggest:
kubectl --namespace kube-system describe deploy/coredns
kind-nightfall-56861
08/16/2022, 12:19 PMsquare-engine-61315
08/16/2022, 12:54 PM.spec.strategy.type==Recreate
. I think the default is .spec.strategy.type==RollingUpdate
. The latter will try to start new pod before stopping the old one, which is nice for high availability, but does not work with all applications or pods.