Monitor persistent volume claims on Kubernetes/OpenShift
This page outlines the minimum version requirements for basic persistent volume claims monitoring capabilities.
Dynatrace version 1.294 +
ActiveGate version 1.289+
In Kubernetes, persistent data is stored in persistent volume claims (PVCs). Dynatrace provides you the needed insights into your persistent volume claims capacity.
- Dynatrace provides Kubernetes persistent volume claims preset dashboards that allow you to analyze your persistent volume claims based on total capacity, usage, remaining free space, and growth rates.
- Templates for custom alerts enable you to alert on related issues, such as persistent volume claims running out of free space or growing in an unusual manner.
To start monitoring persistent volume claims, see below.
Enablement
PVC monitoring is a built-in feature and does not need to be enabled manually.
Permissions
Make sure that the get
rule and the nodes/metrics
resources are enabled in the Kubernetes ClusterRole. If you're monitoring PVCs with an ActiveGate running outside of the cluster, you'll also need the nodes/proxy
permission.
Example:
Dashboarding
Dynatrace provides a pre-configured dashboard that covers the following use-cases:
- Show namespaces with most / least free space
- Show namespaces with biggest growth rate
- Show top 10 list of the biggest PVCs
- Show capacity / usage per namespace
Limitations
This feature is available only if your Kubernetes cluster is connected to a local Kubernetes API endpoint.