Uninstalling the Agent from a Cluster
After the uninstallation, some container-related functions, such as container firewall and container cluster protection, will be unavailable for the cluster assets connected to HSS through agents. To continue using container security services, you are advised to uninstall the cluster agent by following the instructions provided in this section, and then refer to Installing an Agent in a Cluster to connect to container assets again.
Uninstalling an Agent from a CCE Cluster
- Log in to the management console.
- In the upper left corner of the page, select a region, click , and choose . The CCE console is displayed.
- Click the name of a cluster to enter its details page.
- In the navigation pane, choose Workloads.
- Click the DaemonSets tab. Delete the workload install-agent-ds.
In the Operation column of the workload, choose
.Figure 1 Deleting install-agent-ds
- In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
- In the navigation tree on the left, choose Installation & Configuration.
- Click the Agents tab. Uninstall the agent from all container nodes in the CCE cluster.
For details, see Uninstalling the Agent.
Uninstalling an Agent from an On-Premises Cluster
- Log in to the Kubernetes cluster.
- Run the following command to delete the workload install-agent-ds:
kubectl delete ds install-agent-ds -n default
- 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 tree on the left, choose Installation & Configuration.
- Click the Agents tab. Uninstall the agent from all container nodes in the cluster.
For details, see Uninstalling the Agent.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.