-
Notifications
You must be signed in to change notification settings - Fork 461
support for Kubernetes 1.6 in vagrant #863
Comments
@aaronlevy @colhom any thoughts about Kubernetes 1.6+ being supported for vagrant yet? I've been using this repo for my daily dev flow and it'd be great to start using 1.6. Thanks! |
The root cause for the api server not starting appears to be that k8s 1.6 is using etcd3 while the vagrant cluster starts up an etcd2 node. The error message show below occurs when an etcd3 client connects to a v2 only server (from kubernetes/kubernetes#39710):
In the interest of trying to update this repo to deploy an etcd3 server, I see that needs to be done via Ignition: coreos/bugs#1877 (comment) However, Ignition doesn't appear to be supported for Vagrant/Virtualbox: https://coreos.com/ignition/docs/latest/supported-platforms.html Am I correct to conclude k8s 1.6 (with etcd3) in the Vagrant/Virtualbox setup in this repo at https://github.com/coreos/coreos-kubernetes/tree/master/multi-node/vagrant is not possible currently? Perhaps attempting to use etcd2 still could work, but I'm not sure if that's a good idea going forward: https://github.com/kubernetes/features/blob/master/release-1.6/release-notes-draft.md#internal-storage-layer |
Just FYI, this solution using k8s 1.6.1 and etcd2 seems to work for us so far: https://github.com/rook/coreos-kubernetes/commit/a3e880bf3c880e4e4551fbba54d21cf6833ffb19 It may be of use to other folks, but the long term upstream solution would be to start up an etcd3 server instead of having k8s api server use etcd2. Hope this helps. |
I tried bumping the Kubernetes version to 1.6.1 in my fork with this commit: jbw976@f839738
However, the cluster doesn't seem to come up successfully with
vagrant up
frommulti-node/vagrant
. Is 1.6.1 expected to work simply by bumping the version number, or is there more work necessary to support 1.6?It looks like the api server container keeps failing/exiting:
And here is the entirety of the api server container logs:
The text was updated successfully, but these errors were encountered: