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
Failure when joining nodes to master #9
Comments
I am also stuck on this point with what looks like the same issue. I'm trying to use Centos 7 now. Ubuntu 16 failed also but at an earlier part. |
I think this is maybe related: kubernetes/kubeadm#907 I fixed this issue by making sure that the versions are the same everywhere. In particular I had to change the variable "kubernetes_version" to 'stable-1.11' |
Thanks @davidcodesido, stable-1.11 worked. Should the version be updated in the defaults, @geerlingguy? |
@colonelpopcorn - Would definitely accept a PR! I already have a different version locked in in the infra where it is necessary, so the role following the mainline stable release is a good idea. |
I got the same problem and resolved it after install the same version(kubelet-1.10.1) with master |
PR #12 fixed this issue. Latest version should be able to stand up a multi-node kubernetes cluster with very little pain and suffering! Thanks all for pointing out solutions! |
@colonelpopcorn - Thanks again! |
Just released a 1.0.0 since this role is at least somewhat stable in my testing. Any major architecture changes will get a version bump. |
I've been working with a Vagrant file to try and bootstrap a Kubernetes cluster using your role. I've set up a three machine file with one master and two nodes. At first, I had a lot of trouble with the script hanging at the join nodes to master step, but then I realized I was advertising the Kubernetes API on the NAT that Vagrant applies to all machines. After setting up a private network and changing the advertising address for Kubernetes I was able to get an actual error instead of hanging. Here's the link to my repo, and here's the output of the role:
I think I might need to change OS or add a package, but I'm kind of lost at this point.
EDIT: Just read the rest of the error output and noticed that the token isn't working. Is this a formatting issue? Should I print the join command fully and see what's happening with it?
The text was updated successfully, but these errors were encountered: