Kubernetes storage
Metrics, Dashboards, Alerts and more for Kubernetes storage Integration in Sysdig Monitor.
This integration is disabled by default. See Enable and Disable Integrations to enable it in your account.
This integration is out-of-the-box, so it doesn’t require any exporter.
This integration has 8 metrics.
List of Alerts
Alert | Description | Format |
---|---|---|
[k8s-storage] High Storage Error Rate | High Storage Error Rate | Prometheus |
[k8s-storage] High Storage Latency | High Storage Latency | Prometheus |
List of Metrics
Metric name |
---|
kube_persistentvolume_status_phase |
kube_persistentvolumeclaim_status_phase |
kubelet_volume_stats_capacity_bytes |
kubelet_volume_stats_inodes |
kubelet_volume_stats_inodes_used |
kubelet_volume_stats_used_bytes |
storage_operation_duration_seconds_bucket |
storage_operation_duration_seconds_count |
Prerequisites
None.
Installation
Installing an exporter is not required for this integration.
Agent Configuration
The default agent job for this integration is as follows:
- job_name: k8s-storage-default
scrape_interval: 60s
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
scheme: https
tls_config:
ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecure_skip_verify: true
kubernetes_sd_configs:
- role: node
relabel_configs:
- action: keep
source_labels: [__meta_kubernetes_node_address_InternalIP]
regex: __HOSTIPS__
- action: labelmap
regex: __meta_kubernetes_node_label_(.+)
replacement: kube_node_label_$1
- replacement: localhost:10250
target_label: __address__
- action: replace
source_labels: [__meta_kubernetes_node_name]
target_label: kube_node_name
metric_relabel_configs:
# - source_labels: [__name__]
# regex: "storage(.+)"
# action: keep
- source_labels: [__name__]
regex: (storage_operation_duration_seconds_bucket|storage_operation_duration_seconds_count)
action: keep
- action: replace
source_labels: [namespace]
target_label: kube_namespace_name
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.