You can set resource quotas and limits for a namespace in the Container Service for Kubernetes (ACK) console.
Prerequisites
- An ACK cluster is created. For more information, see Create an ACK managed cluster.
- A namespace is created. For more information, see Manage namespaces.
- You are connected to the cluster by using kubectl. For more information, see Step 2: Select a type of cluster credentials.
Background information
By default, pods that are in the running state can consume the CPU and memory resources of nodes without limit. In this case, pods in a namespace may exhaust the resources of the cluster.
Namespaces can be used as virtual clusters to serve multiple purposes. We recommend that you set resource quotas for namespaces.
You can set multiple resource quotas for a namespace, including CPU, memory, and pod quotas. For more information, see Resource quotas.