Open anirudhRowjee opened 3 years ago
Sounds like a great idea! Do you want to work on it?
@MadhavJivrajani thoughts?
Huge +1 Happy to help in any way possible :)
I will! Thank you for the opportunity :D
I'm considering using the go-client
library to scrape kubernetes metrics, and limiting support to running grofer
from outside the cluster, so as to have a simpler baseline goal to approach.
I'd love to hear the maintainers' feedback on this! :smile:
I'd also love to add some documentation on navigating the codebase and a document explaining the new architecture! DO let me know if you want me to open a new issue / PR just for this.
I'm considering using the
go-client
library to scrape kubernetes metrics, and limiting support to runninggrofer
from outside the cluster, so as to have a simpler baseline goal to approach.I'd love to hear the maintainers' feedback on this! smile
@anirudhRowjee you have the right idea. client-go
can be used to interact with the Kubernetes API. However, for the purposes of scraping metrics, there are a few things to keep in mind:
metrics-server
deployed, only then will you be able to scrape metrics using the Kubernetes API.
client-go
is the perfect choice to get the available resources in the cluster such as the Pods, deployments etc.
I'd also love to add some documentation on navigating the codebase and a document explaining the new architecture! DO let me know if you want me to open a new issue / PR just for this.
Absolutely! Go for it. Feel free to open a new issue about this.
@anirudhRowjee fyi - https://github.com/vladimirvivien/ktop
Is your feature request related to a problem? Please describe. Kubernetes Monitoring and Dashboarding
Describe the solution you'd like I believe a lot of the existing architecture of Grofer can be re-used to show data relevant to Kubernetes. A simple dashboard can be implemented, with support for features including (but not limited to)
grofer proc
)export
feature)Describe alternatives you've considered if any The tool of choice for this appears to be
k9s
, but I believe the learning outcome of implementing this here would be worth the effort.Additional context None.
I would love to work on this feature if it's approved! Thank you for the time.