-
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
Minikube doesn't mount host's user home directory on HyperV VM (Windows 10) #2357
Comments
W/o it fixed, unfortunatelly cant use minikube under windows 10 with hyperv for local development, unless some workaround for mount? |
HyperV does not provide any standard hostfolder solution OOTB. You can use
something like fuse-sshfs or smb maybe. We have added this to Minishift,
but haven't backported any of this to minikube yet; bandwidth issues/too
busy.
…On Sun, May 6, 2018, 18:28 Sergei Shilko ***@***.***> wrote:
W/o it fixed, unfortunatelly cant use minikube under windows 10 with
hyperv for local development, unless some workaround for mount?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2357 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAHZmJK1QNoHJRK7jJU35NGLO6Bb3c0ks5tvtA4gaJpZM4RLowL>
.
|
i understand, just wanted to confirm and bump the issue https://kubernetes.io/docs/getting-started-guides/minikube/#mounted-host-folders |
With minikube version: v0.27.0, when you run |
@kochinc sorry but is this change introduced in 0.27, cant find in changelogs cause this will realy fix many setups?Thx. |
The options --mount and --mount-string have been in minikube for several revisions already. But I just started using minikube on Hyper-V, so have no idea whether mounting host directory on Hyper-V was working or not before. And, there are still issues with the mounted directory. It is always mounted as root:root, and modification time is wrong. For copying files into and out of the Hyper-V virtual machine is working, though. |
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. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version (use
minikube version
): minikube version: v0.24.1cat ~/.minikube/machines/minikube/config.json | grep DriverName
): "DriverName": "hyperv",cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): "Boot2DockerURL": "file://C:/Users/adam/.minikube/cache/iso/minikube-v0.23.6.iso",What happened:
I believe this could be similar to #716
My home directory is not mounted to the minikube VM.
What you expected to happen:
(copied form #716) I should normally be able to access this directory through the VM. I need this to provide files to the containers controlled by Kubernetes.
--mount-string string The argument to pass the minikube mount command on start (default "C:\Users\USERNAME:/minikube-host")
How to reproduce it (as minimally and precisely as possible):
(copied form #716) Run minikube start then minikube ssh. In the shell we are unable to find the mounted host directory under any names
Output of
minikube logs
(if applicable):Full logs can be found @ https://phabricator.wikimedia.org/P6504
Anything else do we need to know:
I'm new to kubernetes on Windows so I could be screwing something up here.
But this looks so simple I surely can't be.
The text was updated successfully, but these errors were encountered: