-
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
How limit worker resource ? #1578
Comments
@0Delta, @BenTheElder : |
Ok, figured it out. For worker nodes, you have to use JoinConfiguration: - role: worker
kubeadmConfigPatches:
- |
kind: JoinConfiguration
nodeRegistration:
kubeletExtraArgs:
system-reserved: memory=8Gi |
I didn't test it but you should be able to patch the kubelet configuration directly
|
kubelet configuration object is not respected per node in kubeadm currently, only from init :( this is what you want #1578 (comment) |
Sorry for late response. finally, I success controle resource by means of @teachermanalex .
And i found this issue. #896 However, the control node resource is successful. my question is solved. |
Hello, can we specify the ram utilisation with an argument instead of passing it in our |
Most complex options are only in config, not a flag, and will remain that way. |
I want limit worker resource for simulate weak node. e.g. 1vCPU/2GB
I tryed ...
constraints
parameter, such as Configure capacity of the worker nodes #877but, i got syntax error.
kubeadmConfigPatches
parameter, such as How to set Node Allocatable memory in kind? #1524but it's look no effects.
any ideas ?
The text was updated successfully, but these errors were encountered: