-
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
Unclear which directory to be in when running "godep-restore" during updating_kubernetes.md guide #1980
Comments
I don't see any file at |
@r2d4 Ah, perhaps I understood the instructions incorrectly? The docs say:
I was assuming the final Since we're changing to a different branch of kubernetes, it seems reasonable to want to run their godep-restore script? Which is located in Edit: working thru this right now, and starting to understand. Godeps will locate the kubernetes repo I've checked out and install its deps, because kubernetes is a dep of minikube. So, the correct edit here is to add an instruction to change back to minikube directory after checking out the desired kube version (ie: adding |
godep-restore.sh
in kube repo in Minikube docs
Updated title to reflect what I've learned :) |
Ack! Running I'll spent a bit more time on this and come back with a more useful report 👍 |
the the If you're trying to 'update kubernetes', you can run the https://github.com/kubernetes/minikube/blob/master/hack/godeps/godep-update-k8s.sh script with KUBE_VERSION= (the guide should probably be updated to say that) the
|
@r2d4 wonderful, Thanks again! |
@erulabs absolutely. Usually we track the upcoming release in a different v1.8 branch, but we haven't created that branch yet. We would appreciate a PR |
Hrm, seems like some breaking dep issues with upgrading to Kube 1.8 that are non-trivial... Can't get minikube to build after upgrading to 1.8 :< Unfortunately, I may be about blocked on this as-is - my application requires "mount propagation", which is both not available in kube 1.7.5 and appears to crash minikube's (rather old) docker service when run manually (outside kubelet). My rather timeboxed exploration has unfortunately come to an end. I believe you're exactly right about Will keep my eyes glued here for a minikube with a new docker and kube 1.8! Thanks for all the help / hard work and sorry for the distraction! 👍 |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version (use
minikube version
): 0.22.2 (also present on master at time of posting)cat ~/.minikube/machines/minikube/config.json | grep DriverName
): hyve (but not applicable, issue is a documention one)cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): 0.22.2What happened:
In https://github.com/kubernetes/minikube/blob/c1c4455c0f1fc0f2a73eb6273cf46dc83996d22e/docs/contributors/updating_kubernetes.md after running
git checkout $DESIREDTAG
, I expected thegodep-restore.sh
script to be located at./hack/godeps/godep-restore.sh
, but it was in fact located at./hack/godep-restore.sh
(commit targeted is current master at time-of-posting)
What you expected to happen:
The documentation should match the actual file paths :)
How to reproduce it (as minimally and precisely as possible):
Just follow the guide: https://github.com/kubernetes/minikube/blob/c1c4455c0f1fc0f2a73eb6273cf46dc83996d22e/docs/contributors/updating_kubernetes.md
(commit targeted is current master at time-of-posting)
Anything else do we need to know:
The contributing guidelines appeared to encourage an issue, rather than a PR. In any case, I have prepped a branch here: https://github.com/erulabs/minikube/tree/patch-1
Also, I'd be happy to go ahead and move minikubes
hack/godeps
scripts "up one level", so as to match kubernetes/kubernetesLet me know - and thanks for all the work on k8s!
The text was updated successfully, but these errors were encountered: