Can I have CPU limits for a node? [closed] Can I have CPU limits for a node? [closed] kubernetes kubernetes

Can I have CPU limits for a node? [closed]


If you can run the relevant pods in a separate namespace altogether you could use ResourceQuotas

ReesourceQuota provides constraints that limit aggregate resource consumption per namespace. It can limit the quantity of objects that can be created in a namespace by type, as well as the total amount of compute resources that may be consumed by resources in that namespace.

The ResourceQuota parameter limits.cpu might be just what you are looking for. Across all pods in a non-terminal state in the given namespace, the sum of CPU limits cannot exceed this value.

You can read more about ResourceQuota here:https://kubernetes.io/docs/concepts/policy/resource-quotas/