Volcengine Kubernetes Engine
Metric name | Metric type | Description |
Metric name | Metric type | Description |
container_fs_usage_bytes | Gauge | The number of bytes used in the container's writable layer. Files, logs, and other data generated by the container runtime are stored in this layer by default. If usage continues to increase, the container may be evicted. |
container_fs_limit_bytes | Gauge | The maximum capacity of the container writable layer. |
ephemeral_storage_pod_usage_bytes | Gauge | The total usage of Pod-level ephemeral storage, including the sum of the logs for all containers, emptyDir volumes, and other data within the Pod. |
ephemeral_storage_pod_limit_bytes | Gauge | The maximum capacity of Pod-level ephemeral storage. |
Resource name | Resource type | Description |
Resource name | Resource type | Description |
vke-pod-storage-exporter | DaemonSet | The metric collection add-on deployed on each node is used to obtain container file system and Pod ephemeral storage usage from Kubelet, and exposes Prometheus-format metric data via the /metrics endpoint. |
vke-pod-storage-exporter | ServiceAccount | Used for add-on authentication. It holds the token required to access the Kubelet API. |
vke-pod-storage-exporter | ClusterRole / ClusterRoleBinding | Grant the get and list permissions to the add-on on resources to ensure the add-on can call the Kubelet API as expected. |
vke-pod-storage-exporter | Service | Provide a unified service endpoint (port 9103) for the collection add-on to enable VMP to pull metrics through service discovery. |
Parameter | Description |
Parameter | Description |
Basic information | |
Task name | Specify a name for the integration task. The name can only contain Chinese characters, letters, digits, and underscores (_). It must be 1 to 40 characters in length. |
Project | The project to which the instance belongs. Project management is a resource management method that allows you to manage cloud resources used by different businesses or projects in groups. IAM authorization based on projects helps maintain resource independence and data security, and enables you to view resource bills from the project perspective, which helps you efficiently calculate cloud resource usage costs. For details, see Project management. |
Tag | The resource label added to the instance. A resource label consists of a key-value pair. You can use resource labels to classify and aggregate cloud resources from different dimensions. This applies to scenarios such as label-based authorization and resource bill splitting. You can add up to 50 labels. For more details, see Managing labels. |
Configuring collection | |
JobLabel | You can select a label from Kubernetes Pod objects, and the value of the label will be used as the job label for all metrics. For example, if jobLabel is set to foo and the Pod label is foo: bar, the system will add the job="bar" label to all collected metrics. If this field is left empty, the job label of the metric will be set to the namespace and name of the PodMonitor object by default, which is in the format of <namespace>/<name>. |
Collection interval | Specify the collection interval of the collector. It is the interval at which the collection add-on requests monitoring data from the node Kubelet, such as 15 seconds. A smaller value indicates higher monitoring accuracy, but will increase the storage and query overhead of the VMP workspaces. |
Advanced settings | |
Metric Relabel configuration | |
Query scenario | PromQL statement |
Query scenario | PromQL statement |
Query container filesystem usage | container_fs_usage_bytes |
Query Pod ephemeral storage usage | ephemeral_storage_pod_usage_bytes |
Query the top 10 container filesystem usage | topk(10, container_fs_usage_bytes) |
Query the top 10 container filesystem utilization | topk(10, container_fs_usage_bytes / container_fs_limit_bytes * 100) |
Query Pods whose upper limit is about to be exceeded (ephemeral storage utilization > 80%) | ephemeral_storage_pod_usage_bytes / ephemeral_storage_pod_limit_bytes * 100 > 80 |