Hi All,
I'm using ubuntu 16.04 to setup master node. Installed kubectl, kubeadm, 
kubectl, and kubernetes-cni

After installation, I have initiated "*kubeadm init --skip-preflight-checks*", 
after few seconds master was up by listing the token for worker nodes to 
join.

For some reason I've *tear down* the master using the following commands:
*~# kubectl drain <node-name>  --delete-local-data --force 
--ignore-daemonsets*

*~# kubectl delete node <node-name>~# kubeadm reset*

Now when I again tried to initiate "*kubeadm init --skip-preflight-checks*", 
it went into infinite wait for the control plane to become ready.
Pl. help me in coming out of this issue.

here's the console output for infinite wait:
*~# kubeadm init --skip-preflight-checks*
*[kubeadm] WARNING: kubeadm is in beta, please do not use it for production 
clusters.*
*[init] Using Kubernetes version: v1.7.6*
*[init] Using Authorization modes: [Node RBAC]*
*[preflight] Skipping pre-flight checks*
*[kubeadm] WARNING: starting in 1.8, tokens expire after 24 hours by 
default (if you require a non-expiring token use --token-ttl 0)*
*[certificates] Using the existing CA certificate and key.*
*[certificates] Using the existing API Server certificate and key.*
*[certificates] Using the existing API Server kubelet client certificate 
and key.*
*[certificates] Using the existing service account token signing key.*
*[certificates] Using the existing front-proxy CA certificate and key.*
*[certificates] Using the existing front-proxy client certificate and key.*
*[certificates] Valid certificates and keys now exist in 
"/etc/kubernetes/pki"*
*[kubeconfig] Using existing up-to-date KubeConfig file: 
"/etc/kubernetes/controller-manager.conf"*
*[kubeconfig] Using existing up-to-date KubeConfig file: 
"/etc/kubernetes/scheduler.conf"*
*[kubeconfig] Using existing up-to-date KubeConfig file: 
"/etc/kubernetes/admin.conf"*
*[kubeconfig] Using existing up-to-date KubeConfig file: 
"/etc/kubernetes/kubelet.conf"*
*[apiclient] Created API client, waiting for the control plane to become 
ready*

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

version details of kubeadm
~# *kubeadm version*
kubeadm version: &version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", 
GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", 
BuildDate:"2017-08-31T08:56:23Z", GoVersion:"go1.8.3", Compiler:"gc", 
Platform:"linux/amd64"}

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to