Agent Name | Default CPU Request | Default Memory Request | Default CPU Upper Limit | Default Memory Upper Limit |
vmagent | 2 core | 2 GiB | 4 core | 4 GiB |
kube-state-metrics | 0.2 Core | 512 MiB | 0.8 core | 2 GiB |
node-exporter | 0.05 core | 128 MiB | 0.1 core | 256 MiB |
Parameters | Description |
--agent | Select the collector to deploy. The value is fixed as vmagent. |
--remote-write-url | |
--basic-auth-username | The username for authentication in Basic Auth mode of the VMP workspace. |
--basic-auth-password | The password for authentication in Basic Auth mode of the VMP workspace. |
--region | The region of the collector cluster, such as cn-beijing. For more details, refer to Regions and Availability Zones. |
--exec-script-env | The script execution environment, including:
|
--rendering-only | You can only view the installation list of add-ons, such as VM Agent and vm-operator, and do not install the add-ons. |
--namespace | The namespace of the collector. If you do not specify this parameter, the collector will be deployed in the volcano-metrics namespace by default. |
--storage-class | The PersistentVolumeClaim (PVC) storage type. |
--kube-state-metrics-shards | The number of shards for the kube-state-metrics agent. |
--kube-state-metrics-resources-requests-cpu | The CPU request of kube-state-metrics. The value must be an integer. Unit: m. For example, 100m indicates a CPU request of 100 millicores. |
--kube-state-metrics-resources-requests-memory | The memory request of kube-state-metrics. The value must be an integer. Unit: Mi. For example, 200Mi indicates a memory request of 200 MB. |
--kube-state-metrics-resources-limits-cpu | The CPU upper limit of kube-state-metrics. The value must be an integer. Unit: m. For example, 100m indicates a maximum value of 100 millicores. |
--kube-state-metrics-resources-limits-memory | The memory upper limit of the kube-state-metrics collector. The value must be an integer. Unit: Mi. For example, 200Mi indicates a maximum value of 200 MB. |
--agent-scrape-interval | The data collection interval of the collector. The value must be an integer in seconds. Example: 15 seconds. |
--vmpagent-name | The name of the VMP Agent collector. |
--vmpagent-replicas | The number of replicas for the VMP Agent collector. |
--vmpagent-pvc-capacity | The storage capacity of the VMP Agent collector. |
--vmpagent-resources-requests-cpu | The CPU request of the VMP Agent collector. The value must be an integer. Unit: m. For example, 100m indicates a CPU request of 100 millicores. |
--vmpagent-resources-requests-memory | The memory request of the VMP Agent collector. The value must be an integer. Unit: Mi. For example, 200Mi indicates a memory request of 200 MB. |
--vmpagent-resources-limits-cpu | The CPU upper limit of the VMP Agent collector. The value must be an integer. Unit: m. For example, 100m indicates a maximum value of 100 millicores. |
--vmpagent-resources-limits-memory | The memory upper limit of the VMP Agent collector. The value must be an integer. Unit: Mi. For example, 200Mi indicates a maximum value of 200 MB. |
--vmagent-replicas | The number of replicas for the VM Agent collector. |
--vmagent-shards | The number of shards for the VM Agent collector. |
--vmagent-pvc-capacity | The storage capacity of the VM Agent collector. |
--vmagent-resources-requests-cpu | The CPU request of the VM Agent collector. The value must be an integer. Unit: m. For example, 100m indicates a CPU request of 100 millicores. |
--vmagent-resources-requests-memory | The memory request of the VM Agent collector. The value must be an integer. Unit: Mi. For example, 200Mi indicates a memory request of 200 MB. |
--vmagent-resources-limits-cpu | The CPU upper limit of the VM Agent collector. The value must be an integer. Unit: m. For example, 100m indicates a maximum value of 100 millicores. |
--vmagent-resources-limits-memory | The memory upper limit of the VM Agent collector. The value must be an integer. Unit: Mi. For example, 200Mi indicates a maximum value of 200 MB. |
--disable-cadvisor | Disables the rule that allows VMP Agent to collect the metrics of cAdvisor. |
--cadvisor-only | Only enables the rule that allows VMP Agent to collect the metrics of cAdvisor. |
--disable-install-node-exporter | Disables the rule that allows VMP Agent to collect the metrics of node-exporter. |