Filesystem / PVC / PV
Filesystem container
Section titled “Filesystem container”Scritture filesystem per pod
Section titled “Scritture filesystem per pod”rate(container_fs_writes_bytes_total{namespace!~"kube-.*|openshift-.*"}[5m])Letture filesystem per pod
Section titled “Letture filesystem per pod”rate(container_fs_reads_bytes_total{namespace!~"kube-.*|openshift-.*"}[5m])I/O elevato (job / DB / export)
Section titled “I/O elevato (job / DB / export)”rate(container_fs_writes_bytes_total{namespace!~"kube-.*|openshift-.*"}[1m])+rate(container_fs_reads_bytes_total{namespace!~"kube-.*|openshift-.*"}[1m])Inode container in esaurimento
Section titled “Inode container in esaurimento”(1 - (sum(container_fs_inodes_free{name!=""}) by (instance) / sum(container_fs_inodes_total) by (instance))) * 100 > 80PVC capacity vs usage
Section titled “PVC capacity vs usage”kubelet_volume_stats_used_bytes{namespace!~"kube-.*|openshift-.*"}/kubelet_volume_stats_capacity_bytes{namespace!~"kube-.*|openshift-.*"}PVC quasi full (>80%)
Section titled “PVC quasi full (>80%)”( kubelet_volume_stats_used_bytes{namespace!~"kube-.*|openshift-.*"} / kubelet_volume_stats_capacity_bytes{namespace!~"kube-.*|openshift-.*"}) > 0.8PVC in Pending
Section titled “PVC in Pending”kube_persistentvolumeclaim_status_phase{phase="Pending"} == 1Volume quasi pieno (<10% disponibile)
Section titled “Volume quasi pieno (<10% disponibile)”kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes * 100 < 10Volume pieno previsto entro 4 giorni
Section titled “Volume pieno previsto entro 4 giorni”predict_linear(kubelet_volume_stats_available_bytes[6h:5m], 4 * 24 * 3600) < 0PersistentVolume
Section titled “PersistentVolume”PV in stato Failed/Pending
Section titled “PV in stato Failed/Pending”kube_persistentvolume_status_phase{phase=~"Failed|Pending", job="kube-state-metrics"} > 0