-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
set memory and cpu limit for kind create cluster #1422
Comments
Those are the allocated resources, if you scroll up in the output of the node description you can find the real limits that are the ones that you have on your host. The node inherits the host limits. This snippet is from my local machine that has 8 CPUs and 32G of RAM:
I guess that the minikube ones are because that's the memory and CPU assigned to the VM. You can create a VM with the memory and RAM predefined and run KIND inside if you want to limit its resources the same way |
great, thanks alot :) |
So what is the equivalent command for I have tried to deploy |
There is no equivalent as that's not how kind works.
|
I can limit the container. But this didn't change the display on k8s-dashboard, and I don't know what will happen if the cluster reach my limit on its container. |
Do you have any workaround for that? |
#1963, no really great options yet. There's some early discussions of revisiting being able to tell Kubelet/cadvisor a different CPU/memory limit but nothing we can act on yet. Even that would only be a partial answer. If you need functioning resource limits, you should use a VM or machine based solution for now unfortunately. |
hi, I created a kind cluster, while describing the node, I see the following limit for default
Allocated resources:
however, I need to modify the amount of memory and cpu, any idea?
P.s. I am looking for something like this in minikube :
minikube --memory 8192 --cpus 2 start
The text was updated successfully, but these errors were encountered: