I created a glusterfs storage. It automatically created gluster pod. Now I went inside the pod and I ran gluster exporter there. My goal was to monitor gluster storage that I created. Did I achieved my goal? If not ,what I did then by running gluster exporter inside the gluster pod?
It seems glusterfs dynamic provisioning, so you have already configured heketi component for provisioning glusterfs volumes automatically like below one.
Hello World application using GlusterFS Dynamic Provisioning
[ https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/hello_world/README.md ]
Then I think you can monitor easily via heketi REST API.
Heketi - Get Metrics
[ https://github.com/heketi/heketi/blob/master/docs/api/api.md#get-metrics ]