Configuring Agent Resources for Container Clusters
If node load is high, the security agent may lack CPU or memory to process events promptly. Consequently, tasks can accumulate in the queue. To meet the security requirements for high-specification nodes, you can configure agent CPU and memory limits within a cluster to improve agent efficiency and system response speed.
Constraints
- Only the clusters in the Running or Upgrade failed state are supported.
- The agent has been connected to the cluster node.
Cluster Agent Resource Configuration Description
- Default values and value ranges of container cluster resource parameters:
- For a container cluster, the default value of Max Agent CPU Usage is 0.2 C, and the default value of Max Agent Memory Usage is 500 MB.
- For a container cluster, the value range of Max Agent CPU Usage is 0.2 C to 8 C, and the value range of Max Agent Memory Usage is 500 MB to 1200 MB.
- Adaptive configuration principles for the maximum CPU usage of the container cluster agent:
-
If the number of vCPUs on a container cluster node is greater than or equal to 32, Max Agent CPU Usage is automatically set to 1.5% of the total vCPUs of the server and cannot exceed 8 C.
- If the number of vCPUs on a container cluster node is fewer than 32, Max Agent CPU Usage is automatically set to 0.2 C.
-
- Custom adjustment principles for the maximum CPU usage of the container cluster agent:
- If the number of vCPUs on a container cluster node is greater than or equal to 32, you are advised to set Max Agent CPU Usage to a value less than or equal to 1.5% of the total vCPUs of the node.
For example, if the maximum number of vCPUs on a container cluster node is 100 and Max Agent CPU Usage is set to 1.5 C, the agent can use a maximum of 1.5 vCPUs, which accounts for about 1.5% of the total node capacity.
- For a cluster node with fewer than 32 vCPUs, you are advised to set Max Agent CPU Usage to 0.2.
- If the number of vCPUs on a container cluster node is greater than or equal to 32, you are advised to set Max Agent CPU Usage to a value less than or equal to 1.5% of the total vCPUs of the node.
Procedure
- Log in to the HSS console.
- Click
in the upper left corner and select a region or project. - In the navigation pane, choose .
- Click the Clusters tab page and click Connected Clusters. Select one or more clusters in the Running or Upgrade failed state.
- Click Configure Resources. In the Configure Resources slide-out panel, configure cluster agent resource information. Click OK. For details about the configuration principles, see Cluster Agent Resource Configuration Description.Figure 1 Container cluster agent resource configuration
- In the Resource Specifications column of a cluster, check the configured Max Agent CPU Usage and Max Agent Memory Usage. Figure 2 Configured resource specifications
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot