This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Kubernetes storage

Metrics, Dashboards, Alerts and more for Kubernetes storage Integration in Sysdig Monitor.
    Kubernetes storage

    This integration is disabled by default. Please contact Sysdig Support to enable it in your account.

    This integration has 8 metrics.

    List of Alerts

    AlertDescriptionFormat
    [k8s-storage] High Storage Error RateHigh Storage Error RatePrometheus
    [k8s-storage] High Storage LatencyHigh Storage LatencyPrometheus

    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

    Preparing the Integration

    No preparations are required for this integration.

    Installing

    The installation of an exporter is not required for this integration.

    Agent Configuration

    This is the default agent job for this integration:

    - 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