-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Support for versions not listed by get-k8s-versions
?
#2156
Comments
tl;dr you can use Historically, minikube has used localkube, a custom kubernetes distribution that we maintain, to run the cluster. However, we're in the process of deprecating localkube for a more traditional cluster setup (running the control plane in kubernetes itself and the kubelet standalone). In 1.9, we plan to make the The tracking issue for deprecating localkube is #2134. After 1.10, the I'll leave this issue open as a tracking issue to remove the |
Great idea - in theory. In practice, the kubeadm bootstrapper barely works! I am using the latest minikube 0.23 on Mac OS X and are using the virtualbox driver (default) with the latest virtualbox installed. I decided to report this here instead of creating a new issue since I believe there are already too many issues reporting the same. |
@uromahn I don't think that the kubeadm bootstrapper will work for more than one major version skew (i.e. 1.8 is the current version, therefore 1.7 and 1.9 alphas are guaranteed to work). localkube is a bit better in that regard, since it has a lot fewer moving parts, but I don't know the exact compatibility guarantees on localkube. |
@r2d4 thanks for your response and the clarification. This is the first time I heard about this version compatibility for kubeadm. Finally, I am all for simplicity and using kubeadm exclusively in minikube does not seem to be a great idea then if localkube "has a lot fewer moving parts" since more moving parts mean more complexity. |
@uromahn: It sounds like you're saying that we're taking something away from you by continuing to create new versions of minikube - which shouldn't be the case. Are you saying your old version of minikube (of the k8s 1.5 era) that used to work with k8s 1.5, no longer works with k8s 1.5? Note that if you're trying to recompile that old version of minikube/localkube, then you'll need to ensure you're also using older versions of all the dependencies, etc. |
@anguslees I am not sure if I made myself clear enough or you misunderstood my comment above. So, trying to clarify: minikube is supposed to be a tool to run (and manage) a local single-node k8s cluster. So, what I am saying is that if I want to use a different k8s version than what is supported by minikube (based on the json that is read by
However, there are two issues with the two approaches above: with 1) since it has only been introduced recently (and is still considered beta) I am limited to fairly recent k8s versions. I could successfully create a k8s minikube cluster with a version 1.7 but it already failed with a version 1.6. With that in mind, if I need to run an older version of k8s my only options seem to be to stick with an old version of minikube that still supports localkube but I am then still stuck with a k8s version that is available via localkube which may not match the version I actually want or need to use. I guess the lesson learned here is: do not get "stuck" with an older version since you may be left out in the dark. :) |
@r2d4 I think it would make sense to add to the help text for the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Feature request, Max OSX
I'm using GKE for hosting in production and minikube for running locally. Looking to upgrade to a newer version on our master node but none of our target versions (v1.7.8/9, v1.8.1) are included in
minikube get-k8s-versions
(and supplying a nonexistent version tominikube start
throws an error). Is there any way to specify a custom version? Is there a specific reason why these particular versions are unavailable in minikube?Best,
Sam
The text was updated successfully, but these errors were encountered: