/volume-condition-checker

volume-condition-checker uses the NodeGetVolumeStats operation from the CSI Specification to check the VOLUME_CONDITION of a volume

Primary LanguageGoApache License 2.0Apache-2.0

Volume Condition Checker

The Volume Condition Checker for Kubernetes uses the Container Storage Interface Specification's NodeGetVolumeStats operation to detect if a PersistentVolume has an abnormal condition. CSI drivers can return the condition of a volume in the NodeVolumeStatsResponse message.

Abnormal Volume Condition reporting

... to be done

Potential Consumers of Abnormal Volume Condition check results

  • Rook is a Kubernetes Operator that is able to Network Fence a workernode where a Ceph volume is unhealthy.

  • Node Problem Detector provides a generic interface for reporting problems on a node. A project like medik8s can remedy node problems once they are reported.

Dependencies

The NodeGetVolumeStats operation in the current CSI Specification (v1.8.0) defines the VolumeCondition as an alpha feature. Very few CSI-drivers seem to implement the volume condition at the moment. Drivers are required to implement the feature, and expose VOLUME_CONDITION as a NodeServiceCapability, otherwise the Volume Condition Checker will not be able to check the condition of the volume.