Open jbw976 opened 7 years ago
@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 https://github.com/kubernetes/kubernetes/issues/39710):
E0411 00:28:20.106746 1 status.go:62] apiserver received an error that is not an metav1.Status: rpc error: code = 13 desc = transport is closing
In the interest of trying to update this repo to deploy an etcd3 server, I see that needs to be done via Ignition: https://github.com/coreos/bugs/issues/1877#issuecomment-288485078
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: https://github.com/jbw976/coreos-kubernetes/commit/f8397385a0eb80bf9707275c820dd18f048183d7
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: