-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the Gluster disk usage metrics if i am running glusterfs-prometheous container as a sidecar along with glusterfs pod #177
Comments
Gluster Prometheus gets the list of brick paths from Volume info, that is why it is expecting that path including
You can try setting Off-topic: A few developers from Gluster started a new solution for Kubernetes Storage. This solution aims to provide Persistent volumes to applications running in Kubernetes. This project does not use Heketi or Glusterd. Home page: https://kadalu.io The latest blog post explains the design and different configurations available. |
@aravindavk , Thanks,... Its really working nice... I have gone through Kadalu project... Its really nice. I will also start using it. |
@aravindavk , Thanks for your Suggestion. Now we have enabled the option "Bidirectional mount". I have executed the following command to clean up the device
If we disable the option and created the Glusterfs cluster, I am able to wipeout the device when i am teardown the cluster. |
@kannanvr with Bidirectional mount, unmount will not happen automatically. Use pre stop hook to stop the brick process and unmount the volume. Stop script: https://github.com/kadalu/kadalu/blob/master/server/stop-server.sh |
I'm questioning maybe the same, I have written gluster exporter which executes |
Hi,
We need a Help from Gluster-prometheous team for setting up the Gfs metrics for our cluster.
We are running Glusterfs as a Pod. We are planning to run the gluster-prometheus as a side car along with Glusterfs pod.
I am getting the error when we are trying to get the Gluster disk usage metrics.
I have mounted /var/lib/heketi path from Host to the container.
Now It seems, I am not able to access the complete path for what it is expecting.
For example
Till the path "/var/lib/heketi/mounts/vg_bb2793a5afec08e2b72ccb2f4cd714e4/brick_6c4220c32d00b242c8f47e27f7108d06/" We are able to access. But Stats is expecting the folder bricks after this path which is not available. But this path is available at Glusterfs pod. It seems brick is mounted volume .
Now, How to get the Gluster disk usage metrics if i am running glusterfs-prometheous container as a sidecar along with glusterfs pod.
Thanks,
Kannan V
The text was updated successfully, but these errors were encountered: