I had same issue and i fixed it via kubernetes guid link: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/ first step add unset unset KUBECONFIG file and then export KUBECONFIG=/etc/kubernetes/admin.conf