Kubernetes Metrics Server
Kubernetes provides resource usage metrics, such as container CPU usage and memory usage, through the Metrics API. These metrics can be directly accessed by users (by running the kubectl top command) or used by a controller in the cluster (for example, Horizontal Pod Autoscaler) to make decisions.
Kubernetes Metrics Server is an aggregator for monitoring data of core cluster resources. You can quickly install this add-on on the CCE console.
After this add-on is installed, you can create HPA policies. For details, see Creating an HPA Policy.
The official community project and documentation are available at https://github.com/kubernetes-sigs/metrics-server.
Editing the Add-on
- Log in to the CCE console, click the cluster name to go to the cluster console, choose Add-ons in the navigation pane, find the Kubernetes Metrics Server add-on on the right, and click Edit.
- On the Edit Add-on slide-out panel, modify the specifications.
You can adjust the number of add-on pods and resource quotas as needed. The single-pod deployment does not provide high availability. If the add-on pod fails, the add-on becomes unavailable.
- Click OK.
Components
| Component | Description | Resource Type |
|---|---|---|
| metrics-server | Aggregator for the monitored data of cluster core resources, which is used to collect and aggregate resource usage metrics obtained through the Metrics API in the cluster | Deployment |
Release History
| Add-on Version | Supported Cluster Version | New Feature | Community Version |
|---|---|---|---|
| 1.4.6 |
| Supported CCE Autopilot clusters v1.36 and updated the add-on to its community version v0.8.1. | |
| 1.4.5 |
| Supported CCE Autopilot clusters v1.35. | |
| 1.4.3 |
| Supported CCE Autopilot clusters v1.34 and updated the add-on to its community version v0.8.0. | |
| 1.4.1 |
| Supported CCE Autopilot clusters v1.32. | |
| 1.3.42 |
| Supported CCE Autopilot clusters v1.31. | |
| 1.3.41 |
| Fixed some issues. | |
| 1.3.40 |
| Fixed some issues. | |
| 1.3.39 |
| Fixed some issues. | |
| 1.3.38 |
|
|
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