-
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
memory size reset if --memory command-line arg is not always supplied to start #6771
Comments
Hey @alewis001 you can set the memory in the global config via:
and it will be automatically applied. You can find a list of all configurable settings here. Does this resolve your issue? |
Thanks, it does. I'd used that as the workaround before posting this bug. Apologies, I should have mentioned that in the bug report. What should the expected behaviour of that flag be? As it is provided to the
I assume it should update the configuration as the |
Yeah, this was a regression in soft restarts of minikube, it should be fixed at HEAD now that #7449 is merged. |
This will be fixed in v1.10. |
Great, thanks for the update. |
@alewis001 do you mind checking our newest version v1.10.1 and verify we can close this issue? |
I can confirm that with 1.10.1 the issue is fixed. Both the failed start and the resetting of the config. Thank you! |
glad to see this is fixed |
The exact command to reproduce the issue:
minikube start -p bug --memory 5000
minikube start -p bug stop
minikube start -p bug
minikube start -p bug
Output of first start:
😄 [bug] minikube v1.7.3 on Darwin 10.15.3
✨ Automatically selected the hyperkit driver
🔥 Creating hyperkit VM (CPUs=2, Memory=5000MB, Disk=20000MB) ...
🐳 Preparing Kubernetes v1.17.3 on Docker 19.03.6 ...
🚀 Launching Kubernetes ...
🌟 Enabling addons: default-storageclass, storage-provisioner
⌛ Waiting for cluster to come online ...
🏄 Done! kubectl is now configured to use "bug"
Output of second start (error):
😄 [bug] minikube v1.7.3 on Darwin 10.15.3
✨ Using the hyperkit driver based on existing profile
⌛ Reconfiguring existing host ...
🔄 Starting existing hyperkit VM for "bug" ...
💣 Unable to start VM. Please investigate and run 'minikube delete' if possible: post-start: command runner: ssh client: Error dialing tcp via ssh client: dial tcp 192.168.64.11:22: connect: no route to host
😿 minikube is exiting due to an error. If the above message is not useful, open an issue:
👉 https://github.com/kubernetes/minikube/issues/new/choose
Output of third start:
😄 [bug] minikube v1.7.3 on Darwin 10.15.3
✨ Using the hyperkit driver based on existing profile
⌛ Reconfiguring existing host ...
🏃 Using the running hyperkit "bug" VM ...
🐳 Preparing Kubernetes v1.17.3 on Docker 19.03.6 ...
🚀 Launching Kubernetes ...
🌟 Enabling addons: default-storageclass, storage-provisioner
🏄 Done! kubectl is now configured to use "bug"
The text was updated successfully, but these errors were encountered: