How to get pvc storage usage alert?
Right now Longhorn has no alert/notification mechanism for storage usage.
@yasker Are there any plans for the feature?
any general solutions on k8s about pvc storage usage alert?
It seems Kubernetes has no alert for PVC/PV. Actually the space usage status relies on the implementation of the underlying storage vendor, Longhorn for example. And Kubernetes has no idea about it.
But Kubernetes does monitor the disk usage of each node and reflects the info in node.Status.Conditions:
https://kubernetes.io/docs/concepts/architecture/nodes/#condition
I suggest longhorn add feather about this.
like exporter. I can use prometheus and send to alertmanager.
The alert/metrics feature is tracking at #1180 and #928 . Can you add your requirement to them as well so we can easily track them?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I suggest longhorn add feather about this.
like exporter. I can use prometheus and send to alertmanager.