Installing the Agent in a Huawei Cloud CCE Cluster
Scenario
Install the agent in a Huawei Cloud CCE cluster. After the configuration is complete, HSS automatically installs the agent on existing cluster nodes, installs the agent on new nodes when the cluster is scaled out, and uninstalls the agent from removed nodes when the cluster is scaled in.
Prerequisites
Before installing an agent for a CCE cluster, grant the CCEOperatePolicy permission to HSS. For details, see Authorization.
Constraints and Limitations
- Supported container runtime: Docker and Containerd
- Supported cluster editions: CCE standard and Turbo editions
- Node resource requirements: At least 50 MiB memory and 200m CPU should be available.
- When an agent is installed in a cluster, HSS creates an HSS namespace in the cluster.
Installing the Agent in a Huawei Cloud CCE Cluster
- Log in to the management console.
- In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
- In the navigation pane, choose .
- On the Cluster tab page, click Install Container Agent. The Container Asset Access and Installation slide-out panel is displayed.
- Select CCE Cluster Installation and click Configure Now.
- Select a cluster and click Next.
- Configure agent parameters. For more information, see Table 1.
Table 1 Agent parameters Parameter
Description
Configuration Rules
Select an agent configuration rule.
- Default Rule: Select this if the sock address of container runtime is a common address. The agent will be installed on nodes having no taints.
- Custom: Select this rule if the sock address of your container runtime is not a common address or needs to be modified, or if you only want to install the agent on specific nodes.
NOTE:- If the sock address of your container runtime is incorrect, some HSS functions may be unavailable after the cluster is connected to HSS.
- You are advised to select all runtime types.
(Optional) Advanced Configuration
This parameter can be set if Custom is selected for Configuration Rules.
Click to expand advanced configurations. The Enabling auto upgrade agent option is selected by default.
- Enabling auto upgrade
Configure whether to enable automatic agent upgrade. If it is enabled, HSS automatically upgrades the agent to the latest version between 00:00 to 06:00 every day to provide you with better services.
- Node Selector Configuration
Click the Reference Node Label to select the label of the nodes where the agent is to be installed. If this parameter is not specified, the agent will be installed on all nodes having no taints by default.
- Tolerance Configuration
If the taint tag is selected in Node Selector Configuration and the agent needs to be installed on the taint node, you can click Reference Node Taint and configure taint toleration.
- Click OK to start installing the HSS agent.
- In the cluster list, check the cluster status. If the cluster status is Running, the cluster is successfully connected to HSS.
Feedback
Was this page helpful?
Provide feedbackThank 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