-
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
inotify not working with xhyve and minikube-iso combination #821
Comments
Hrm. Probably an issue with how |
Was there any update / resolution on this? I'm running into the same problem on minikube v0.15.0 |
Me too on minikube 14/virtualbox. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
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 |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Minikube version (use
minikube version
):Environment:
Darwin /redacted/ 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64
"DriverName": "xhyve"
Docker version 1.12.3, build 6b644ec
What happened:
I launched a new minikube instance using the following command:
The first time I did this, the
/Users
volume was not even mounted into the minikube VM. I ranminikube stop
andminikube delete
, then repeated the above command to create the driver, and got this error, instead:Third time was the charm:
I then deployed my application using
helm
, the goal of which was the following deployment:That is, I want it to use a
hostPath
volume mounted into my container from the VM (helm templating makes sure I get the user's homedir correct).On my image I have
inotify-tools
installed. In one console I run the following:In another console, I run:
In the original console, I see:
Back in the original console, in the native directory mounted into the container inside the VM, I run:
Unfortunately, I see no further output in the inotify console.
What you expected to happen:
I expected to see
inotify
events propagated through to the inner container.How to reproduce it (as minimally and precisely as possible):
I'll see if I can come up with something more concise.
Anything else do we need to know:
I'm not entirely familiar with the arrangements of the minikube ISO, but I did find this file:
https://github.com/kubernetes/minikube/blob/master/deploy/iso/minikube-iso/board/coreos/minikube/linux-4.7_defconfig
and I also found this info:
https://cateee.net/lkddb/web-lkddb/INOTIFY.html
and
https://cateee.net/lkddb/web-lkddb/INOTIFY_USER.html
I'm wondering if it could be as easy as setting those values to
=y
in that file and rebuilding the ISO. Lemme know if you need a guinea pig.Also, inotify is not working with the xhyve + boot2docker iso combination, either.
Thanks @r2d4 for help in the minikube slack.
The text was updated successfully, but these errors were encountered: