check_persistent_volume_capacity
Monitor Persistent Volume Claim capacity usage across OpenShift clusters to prevent database crashes and data loss from full disks. Checks PVCs against configurable thresholds and returns usage reports with warnings.
Instructions
Monitor Persistent Volume Claim (PVC) capacity usage across the cluster.
Critical for preventing database crashes and data loss due to full disks.
This checks PVCs (persistent storage) which is distinct from ephemeral storage.
Args:
namespace: Optional namespace to filter PVCs. If None, checks all namespaces.
threshold: Alert threshold percentage (default: 85%). PVCs above this will be flagged.
Returns:
Formatted report of PVC usage with warnings for volumes exceeding threshold.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| threshold | No |