-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Add option to skip VM driver PreCreateCheck #3729
Comments
This sounds like a great idea, and I would be happy to review any PR that implements it. |
@tstromberg okay, I'm on it. One question, though: I added a new configuration parameter to My approach works, but I can't define the configurational key (i.e. flag name) next to the others. This would lead to circular imports. Is there any other location to put this constant, or do you have another idea on how to solve this? |
Flags should only be referenced in the main package, so I think we'll need to pass it into Create somehow. I agree that it isn't very straightforward: I can't think of a way to do this without modifying Here is an example of the latter approach: #3734 To mimic this particular case, we would need to modify the upstream hyperv driver we use: |
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. |
@thewilli are you still interested in implementing this issue? |
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. |
Environment: Windows 10 Version 10.0.16299.904
Minikube: v0.34.1
The supported drivers provide a
PreCreateCheck()
method that is invoked by minikube in order to ensure the driver works properly and its prerequisites are fulfiled.Unfortunately those prerequisites are not without flaws. The one implemented in the hyperv driver invokes some PowerShell as part of its checks. The one listed before checks if the user is part of the Hyper-V Administrators group. While this check is a good idea, it does not work if the computer joined a domain and cannot reach its Domain Controller. Therefore, when e.g. working in Home Office or in the train without network connectivity at all, I cannot use minikube in this setup.
Please add an option to skip (or ignore failing)
PreCreateCheck
s.The minishift project is doing something similar specific to hyperv, but I'd propose to just add a general
I-know-what-I'm-doing
-option to continue when those checks failed.The text was updated successfully, but these errors were encountered: