<p>Currently I am using Kubernetes v1.11.6.
I deployed kubernetes in AWS by using KOPS.
In k8s cluster, deployed kafka, elasticsearch.</p>

<p>PVC for kafka and elasticsearch are EBS volumes in AWS.</p>

<p>My question is how to monitor PVC used and remaining available.</p>

<p>This did not worked, <a href="https://stackoverflow.com/questions/44718268/how-to-monitor-disk-usage-of-kubernetes-persistent-volumes">How to monitor disk usage of kubernetes persistent volumes?</a>
They no longer seem to be exposed starting from 1.12</p>

<p>I thought of using aws cloudwatch but I am thinking kubernetes will have some answer for this generic problem.</p>

<p>I should be able to see PVC used and remaining available disk space</p>

Ram
<p>generally speaking you can monitor following metrics:</p>

<pre><code>kubelet_volume_stats_capacity_bytes
kubelet_volume_stats_available_bytes
</code></pre>

<p>These metrics can be scraped from the kubelet endpoint on each node with tools like Prometheus :) </p>
