Kubernetes with Vagrant nodes won't register Kubernetes with Vagrant nodes won't register kubernetes kubernetes

Kubernetes with Vagrant nodes won't register


The reason is a bug in kubernetes. It seems to be a TLS error.

If you manually download kubernetes 1.0.1 you will get closer. However, there's been a bugfix that you'll need to patch into 1.0.1 to make it work properly with vagrant. Otherwise, network provisioning will not work and you'll run into this issue.

So, as suggested there, apply these changes to the provision scripts of v1.0.1 and you'll be good to go. Simple, right?


I apologize for the issue that you encountered.

A fix for the issue reported is opened as a pull request here:

https://github.com/kubernetes/kubernetes/pull/13224

Once merged, you should be able get node registration to work. There was a leading space character in the YAML file for the kubelet kubeconfig that was the source of the problem.

If you do not want to wait for the referenced PR to land, the issue is already resolved in our master branch.