Updated on 2024-09-02 GMT+08:00

PVC View

The PVC view displays the PV/PVC status and usage.

The following PVC types support usage monitoring:

  • EVS PVCs (The value of volumeMode must be Filesystem.)
  • Local PVCs (The Everest version installed in the cluster must be 2.4.41 or later.)
  • SFS Turbo PVCs (Subdirectories generated dynamically by SFS Turbo also support usage monitoring. However, the PVC usage and capacity collected from the subdirectories are the same as those of the SFS Turbo instance).
  • PVCs mounted to common containers (The usages and inodes usages can be collected for such PVCs, but not for the PVCs mounted to secure containers.)

Metric Description

You can view PVC metrics in the following table.

Table 1 PVC metrics

Metric

Unit

Description

PV Status

N/A

PV status, which can be Available, Bound, Failed, Pending, or Released.

PVC Status

N/A

PVC status, which can be Bound, Lost, or Pending.

Used PVC

GiB

Used and available PVC space.

PVC Usage

%

Percentage of a PVC that is used.

Used Inodes in PVC

N/A

Used and available space of inodes in a PVC.

Inodes Usage in PVC

%

Percentage of inodes that are used in a PVC.

Metric List

The following is the metric list of the PVC view.

Table 2 Metric description

Metric

Type

Description

kubelet_volume_stats_inodes_used

Gauge

The number of used inodes in a volume.

kubelet_volume_stats_inodes

Gauge

Maximum number of inodes in a volume.

kubelet_volume_stats_capacity_bytes

Gauge

Capacity in bytes of a volume.

kubelet_volume_stats_available_bytes

Gauge

The number of available bytes in a volume.

kubelet_volume_stats_used_bytes

Gauge

The number of used bytes in a volume.

kube_persistentvolume_status_phase

Gauge

PV status.

kube_persistentvolumeclaim_status_phase

Gauge

PVC status.