-
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
Add ability to pass 'max' value to memory and cpus flags #11692
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is a VM driver user sets --CPUs=Max what happens?
as part of this PR I think I was expecting to see the oci package be touched in a way that this line should NOt be appended (and leave it without --memory
|
could we see metrics of time2k8s after this PR ? does it make any diff? |
The |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, spowelljr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
kvm2 driver with docker runtime
Times for minikube ingress: 38.8s 35.7s 35.3s 42.8s 36.8s Times for minikube (PR 11692) start: 51.3s 50.0s 47.3s 47.4s 46.0s docker driver with docker runtime
Times for minikube (PR 11692) start: 22.6s 21.9s 21.8s 22.7s 21.5s Times for minikube ingress: 33.0s 35.5s 33.5s 38.0s 34.5s docker driver with containerd runtime
Times for minikube (PR 11692) start: 43.3s 43.7s 43.6s 47.5s 43.8s |
Part of #11650
Problem:
There's currently no way to automatically maximize memory and cpu allocation.
Solution:
Added the ability to pass
mamx
to thememory
andcpus
flags onminikube start
. Passing that value will allocate maximum resources to minikube.Example: