Skip to content
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

[FEATURE REQ] Kubernetes Monitoring and Dashboard #128

Open
anirudhRowjee opened this issue Aug 2, 2021 · 8 comments · May be fixed by #141
Open

[FEATURE REQ] Kubernetes Monitoring and Dashboard #128

anirudhRowjee opened this issue Aug 2, 2021 · 8 comments · May be fixed by #141
Labels
enhancement New feature or request

Comments

@anirudhRowjee
Copy link
Contributor

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)
0. Listing all available pods, nodes, and similar data sources made available by the Kubernetes API

  1. Pod-Specific Actions on keypress (a la grofer proc)
  2. Charts for available metrics
  3. In-Memory time-series storage of data collected (could perhaps make use of some of the existing capabilities of the 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.

@anirudhRowjee anirudhRowjee added the enhancement New feature or request label Aug 2, 2021
@Gituser143 Gituser143 added the hacktoberfest Issues for Hacktoberfest 2021 label Sep 30, 2021
@Samyak2
Copy link
Member

Samyak2 commented Oct 4, 2021

Sounds like a great idea! Do you want to work on it?

@MadhavJivrajani thoughts?

@MadhavJivrajani
Copy link
Member

Huge +1
Happy to help in any way possible :)

@anirudhRowjee
Copy link
Contributor Author

I will! Thank you for the opportunity :D

@anirudhRowjee
Copy link
Contributor Author

anirudhRowjee commented Oct 29, 2021

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! 😄

@anirudhRowjee
Copy link
Contributor Author

anirudhRowjee commented Oct 29, 2021

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.

@MadhavJivrajani
Copy link
Member

MadhavJivrajani commented Oct 30, 2021

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

@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:

  • The cluster needs to have metrics-server deployed, only then will you be able to scrape metrics using the Kubernetes API.
    • There are limitations on the frequency of scraping metrics that need to be considered during implementation.
  • For the specific use-case of scraping metrics, there is a metrics client available that you can check out.

client-go is the perfect choice to get the available resources in the cluster such as the Pods, deployments etc.

@MadhavJivrajani
Copy link
Member

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.

@Gituser143 Gituser143 removed the hacktoberfest Issues for Hacktoberfest 2021 label Nov 7, 2021
@MadhavJivrajani
Copy link
Member

@anirudhRowjee anirudhRowjee linked a pull request Jul 18, 2022 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants