Prometheus Instance for CCE
This type of instance is recommended when you need to monitor CCE clusters and applications running on them. By default, CCE clusters are monitored. If needed, add component monitoring through the access center.
Precautions
- You can connect clusters only when the kube-prometheus-stack add-on exists on the Add-ons page of CCE.
- Before installing the kube-prometheus-stack add-on, ensure that there are at least 4 vCPUs and 8 GiB memory. Otherwise, this add-on cannot work.
Creating a Prometheus Instance for CCE
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Prometheus Monitoring > Instances. On the displayed page, click Add Prometheus Instance.
- Set an instance name, enterprise project, and instance type.
Table 1 Parameters for creating a Prometheus instance Parameter
Description
Instance Name
Prometheus instance name.
Enter a maximum of 100 characters and do not start or end with an underscore (_) or hyphen (-). Only letters, digits, underscores, and hyphens are allowed.
Enterprise Project
Enterprise project.
- If you have selected All for Enterprise Project on the global settings page, select one from the drop-down list here.
- If you have already selected an enterprise project on the global settings page, this option will be dimmed and cannot be changed.
Instance Type
Type of the Prometheus instance. Select Prometheus for CCE.
- Click OK.
Connecting a CCE Cluster
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Prometheus Monitoring > Instances.
- In the instance list, click a Prometheus instance for CCE.
- On the Integration Center page, click Connect Cluster. In the cluster list, you can view the cluster information, installation status, and collection status.
Figure 1 Viewing cluster connection information
- Locate a target cluster and click Install in the Operation column to install the Prometheus add-on.
Figure 2 Connecting a CCE cluster
- After the installation is complete, click Close to connect the CCE cluster and bind it with the current Prometheus instance.
To disconnect the CCE cluster, click Uninstall.
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