-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to remove kube-dns from Kubernetes Cluster v1.9.1 #59
Comments
@johnbelamaric Any ideas would be greatly appreciated as I was just following the instructions. It is a v1.9.1 K8s cluster, so RBAC is enable. thx. |
It is probably the add-on manager. How did you build the cluster? Is it a managed cluster like GKE?
On Jan 30, 2018, at 4:53 AM, Campbell Gunn <notifications@github.com<mailto:notifications@github.com>> wrote:
@johnbelamaric<https://github.com/johnbelamaric> Any ideas would be greatly appreciated as I was just following the instructions. It is a v1.9.1 K8s cluster, so RBAC is enable. thx.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#59 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJB4s5qvjTkl4ahf-39Dr-nIZKH5xXEHks5tPuatgaJpZM4Rx6ks>.
|
The cluster was built using acs-engine in MS Azure. |
It does sound like an addon-manager. I have no direct experience with Azure deployments of kubernetes. But inferring from some other discussions, you might try the following ... Look in /etc/kubernetes/addons/ on the master for a kube-dns yaml definition. Try deleting that yaml file (or moving it out of the directory), then restarting the addon manager (by deleting the addon-manager pod in kube-system namespace). Then try deleting the kube-dns deployment. |
... Also be aware that the addon manager may be reconciling the kube-dns service too (i.e. restoring it to select the kube-dns pods instead of the coredns pods). If so, you'll need to re-apply the yaml produced by the deployment.sh script. |
All right I will have a look at that. thanks. |
@chrisohaver Nope, did exactly the steps above and the Kube-DNS deployment comes back and so do the pods. |
Followed the instructions from https://github.com/coredns/deployment/tree/master/kubernetes
Tried to remove kube-dns using
$ kubectl delete --namespace=kube-system deployment kube-dns
is says it deleted, but within a few mintues it re-appears.Any assistance would be greatly appreciated!
The text was updated successfully, but these errors were encountered: