-
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
--mount-string does not work on hyperkit with non-default profile #12675
Comments
Just discovered this as well |
Found the root of the issue, we're not passing the profile into the mount command. https://github.com/kubernetes/minikube/blob/master/pkg/minikube/node/config.go#L68 |
I just downloaded https://github.com/kubernetes/minikube/releases/tag/v1.24.0-beta.0 which is supposed to have the fix and I'm experiencing a similar issue. The "test" folder is created on the VM but the folder still doesn't seem to be mounted, because its contents are not there.
I have no problem with the |
Hi @fernandrone, I just tried your exact instructions:
|
Alright, that's odd! I'm still on Darwin 11.6.1 though, think this could be related? (kubectl is also outdated but I'm assuming it's not used at all during cluster setup/mount...)
|
I don't think using a slightly older version of Darwin is going to be an issue, I was just on 11.6 a couple of weeks ago. And the kubectl being outdated shouldn't make a difference either. Leaving the cluster running, run |
Yeah, it fails!
I guess this could be a different issue, possibly #12729 UPDATE: it doesn't work properly on the default profile either, so seems unrelated to this specific bug. I'll keep keep investigating and if needed I'll add more information to the issue above. Thanks @spowelljr 👍🏻 |
Failing on macos caalina too |
I am facing the same issues on Monterey (v12.4) as well. Intel chip.
|
hi Guys, i'm also facing the same issue, any workaround on this? |
Steps to reproduce the issue:
mkdir -p /tmp/minikube-mount-test
minikube -p mount-test start --driver hyperkit --mount --mount-string /tmp/minikube-mount-test:/test
minikube -p mount-test ssh ls /test
Run
minikube logs --file=logs.txt
and drag and drop the log file into this issueLogs for the profile: logs.txt
Full output of failed command if not
minikube start
:Output of
minikube -p mount-test start ...
:The mount does not exist, which can be checked by running the last command in the steps:
minikube -p mount-test ssh ls /test
The mountpoint does not exist when the profile is specified in the minikube start command. Here are the cases where it works for me:
-p
from all of my commandsminikube config set profile mount-test
before I start the VM.minikube profile mount-test
and start the VM again, without needing to stop it first. Using the config setting works as well.Some other bugs I found that could possibly be related:
The text was updated successfully, but these errors were encountered: