Kubernetes help. Kube-dns crashloopbackoff
- 
 Need help with kubernetes. I have installed kuberentes in my centos 7.2 machine. When i type kubectl get pods --all-namespaces I see the kube-dns has an error saying crashloopbackoff. I am unable to find the exact problem. Somebody help on this ? 
- 
 New to CentOS 7? 
 Disable SELinux and try again.setenforce 0If things work, then you can work on resolving the SELinux security concerns. 
- 
 swapoff -a setenforce 0 installed docker, kubeadm, kubelet, kubectl enabled and started docker Checked the cgroup driver for both docker and kube to be same with cgroupfs kubeadm init with cidr range 10.244.0.0/2 and kubectl get pods --all-namespaces Kube-dns crashbackloopoff. 
- 
 @ranganath-t said in Kubernetes help. Kube-dns crashloopbackoff: swapoff -a setenforce 0 installed docker, kubeadm, kubelet, kubectl enabled and started docker Checked the cgroup driver for both docker and kube to be same with cgroupfs kubeadm init with cidr range 10.244.0.0/2 and kubectl get pods --all-namespaces Kube-dns crashbackloopoff. Did you reboot someplace in there? Because setenforce 0does not survive a reboot.
- 
 I have disabled selinux=disabled. 
- 
 fyi, i did not reboot the machine at all 
- 
 Well, then I am no further help as I have not tried to use this container before. 
- 
 I've not used kubernetes either, but, do you have an error log from when you tried to start it? Probably in /var/log and something like kube.log. Also, are any nameservers listed in /etc/resolve.conf? Network settings like to drop the DNS server setting once in a while, and the DNS error might be caused by this. 
- 
 Did you follow this from the kubeadm install setups? I've done a cluster setup a couple of times and haven't run into this. 


