Project Description
We have often problems (e.g. pods not starting) that are related to Longhorn. In several cases the cause could be as simple as overcommitting the available diskspace. To check this, you have to login to Rancher, select the correct K8S cluster, go to Longhorn and then click through the menus. It would be much simpler if there is simple tool, you can run on the CLI that provides the information. Also it should list if the PVC status.
As addition (read enough time), we could add changing reservation, adding new disks, etc. Also
This tool would decrease troubleshooting time, giving admins rights to the rancher GUI and could be used in automation.
Goal for this Hackweek
At the end we should have a small GoLang tool that is doing a (very) basic health check on Longhorn.
Resources
GoLang library: https://pkg.go.dev/github.com/longhorn/longhorn-manager/client#section-documentation
If you know golang, k8s and/or longhorn feel welcome to join me.
keywords: longhorn monitoring golang
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 24
Activity
Comments
Be the first to comment!
Similar Projects
This project is one of its kind!