Enabling Protection for a Cluster
Enabling protection will automatically install the CGS shield plug-in in the cluster. The CGS shield is installed as a daemonset, which starts a container on each compute node in the cluster to monitor the status and events of other containers on the node.
CGS automatically enables protection for a new node in the cluster when the node is added to a cluster with protection enabled.
Check Frequency
CGS performs a full check in the early morning every day.
If you enable server protection before the check interval, you can view check results only after the check at 00:00 of the next day is complete.
Prerequisites
- You have created clusters on CCE.
- Cluster Protection Status is Disabled.
Procedure
- Log in to the management console.
- In the upper part of the page, select a region, click
, and choose Security & Compliance > Container Guard Service. - Choose Clusters & Quotas and click the Clusters tab. In the row of a cluster, click Enable Protection in the Operation column.
- In the displayed dialog box, read and select I have read and agreed to the Container Guard Service Disclaimer, and click OK. Figure 1 Enable Protection dialog box
After protection is enabled, Cluster Protection Status of the cluster is Enabled, indicating that protection has been enabled for all available nodes in the cluster.
- If you enable CGS for more nodes than can be protected by the yearly/monthly packages you have purchased, your will be charged on an hourly basis for protection of the excess nodes. For details, see When and How Will CGS Be Charged Per Use?
- CGS automatically enables protection for the new node in the cluster when a new node is added to a cluster with protection enabled.
- Enabling protection will automatically install the CGS plug-in in the cluster.
Follow-Up Procedure
References
- After enabling CGS, you can define security policies by configuring a process whitelist and file protection list to prevent risks during the running of the container, keeping systems and applications secure. For details about how to configure security policies, see (Optional) Configuring Policies.
- To disable cluster protection, follow the instructions provided in Disabling Protection for a Cluster.
- To troubleshoot an offline shield, follow the instructions provided in What Should I Do If the Shield on a Node Is Offline?
Last Article: Purchasing a CGS Quota
Next Article: Enabling Alarm Notification

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.