Installing Metrics Server
metrics-server is an aggregator for monitoring data of core cluster resources. After installing it, you can create HPA policies. For details, see Configuring an HPA Policy.
For details about the official projects and documents of the Metrics Server community, see https://github.com/kubernetes-sigs/metrics-server.
This section describes how to install Metrics Server for a CCE cluster bound to a Kubernetes environment.
Prerequisites
- A Kubernetes environment has been created. For details, see Creating a Kubernetes Environment in Resource Management Mode.
- A CCE cluster later than 1.15 has been bound in the environment. For details, see Binding a CCE Cluster.
Installing Metrics Server
- Log in to ServiceStage.
- Choose Environment Management. The Environment Management page is displayed.
- Click the target environment. The Overview page is displayed.
- Choose Plug-in Management.
- Select Metrics Server under Addons.
- Set the parameters by referring to the following table.
Parameter
Description
CCE Cluster
By default, a managed CCE cluster in the current environment is selected.
Server Type
CPU architecture of the CCE cluster.
- x86_64
- aarch64
- Click OK.
- After the Metrics Server plug-in is successfully installed, the content listed in the following table is created.
- If the Metrics Server plug-in fails to be installed, try again by referring to Installing Metrics Server.
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