<p>I have databases delpoyed as StatefullSet on my kubernetes cluster, i would like to know how can i make alerts (send email) when Persistent Volumes are 80% full?</p>
<p>P.S: This k8s cluster is deployed using Rancher v2.4</p>

Mohamed
<p>You will need to monitor your volumes from Prometheus, the link above from Manoj is a good start or visit <a href="https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumefillingup" rel="nofollow noreferrer">kubepersistentvolumefillingup</a></p>
<p>After prometheus is happy, you can configure alert manager to generate email alerts.</p>
<p>Good luck.</p>
<p>There is a helm chart to get you started.  <a href="https://github.com/prometheus-operator/kube-prometheus" rel="nofollow noreferrer">kube-prometheus</a></p>
