-
Notifications
You must be signed in to change notification settings - Fork 706
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
Not able to add node - Kubeadm #223
Comments
Hmm, I think you're trying to do Is that the case? |
Hi Lucas, I followed the same instructions on master and nodes. yum install -y docker kubelet kubeadm kubectl kubernetes-cni. Both have version 1.6 |
@githubvick are you sure your master is up and running correctly? |
Hi Luxas, The issue was because these steps weren't performed , these were displayed today after the fresh install and not a couple of days back when I had tried. sudo cp /etc/kubernetes/admin.conf $HOME/ Thanks a lot for looking into the issue. |
I'm having the same problem. when master is in alone everything works fine, but as soon as I join node the pods go in loop
here is the log from master. copying admin.conf didn't helped update: when I start kubelet service on node I have this error:
|
@Anmorata please open a new issue |
What keywords did you search in kubeadm issues before filing this one?
Failed to request cluster info, will try again: [the server has asked for the client to provide credentials (get configmaps cluster-info)]
If you have found any duplicates, you should instead reply there and close this page.
If you have not found any duplicates, delete this section and continue on.
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
):kubeadm version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.0", GitCommit:"fff5156092b56e6bd60fff75aad4dc9de6b6ef37", GitTreeState:"clean", BuildDate:"2017-03-28T16:24:30Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Environment:
kubectl version
):kubectl versionClient Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.0", GitCommit:"fff5156092b56e6bd60fff75aad4dc9de6b6ef37", GitTreeState:"clean", BuildDate:"2017-03-28T16:36:33Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
uname -a
):Linux kubenode1 3.10.0-514.10.2.el7.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/LinuxWhat happened?
When kubeadm configured and node is added with the join command as mentioned in this site
https://kubernetes.io/docs/getting-started-guides/kubeadm/
kubeadm join --token=a66fb4.53099c80dc10cd7b x.x.x.x:6443
Getting this error
[discovery] Failed to request cluster info, will try again: [the server has asked for the client to provide credentials (get configmaps cluster-info)]
What you expected to happen?
Nodes should be added without any errors
How to reproduce it (as minimally and precisely as possible)?
Install and configure Kubeadm using kubeadm init
Add node using kubeadm join command
Anything else we need to know?
In journalctl
kubelet[30298]: error: failed to run Kubelet: invalid kubeconfig: stat /etc/kubernetes/kubelet.conf: no such file or directory
The text was updated successfully, but these errors were encountered: