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

Grafana plugins should be customizable #2611

Open
gdemonet opened this issue Jun 9, 2020 · 4 comments
Open

Grafana plugins should be customizable #2611

gdemonet opened this issue Jun 9, 2020 · 4 comments
Labels
kind:debt Technical debt topic: cluster&service configuration Anything related to cluster and service configuration persistence topic:monitoring Everything related to monitoring of services in a running cluster topic:solutions Anything related to external "Solutions" integration with the platform

Comments

@gdemonet
Copy link
Contributor

gdemonet commented Jun 9, 2020

Component: build, monitoring

Current situation:

In recent versions (6+), grafana/grafana container image doesn't come with the grafana-piechart-panel plugin installed. To make sure we had this plugin installed by default in our deployment without requiring an online installation at runtime, we baked our own image with this plugin installed at build-time.

This approach is sufficient for handling the dashboards we embed with MetalK8s releases. It will not be sufficient for handling user-provided dashboards or anything shipped with Solution archives (see #1860).

Proposed solution:

To be detailed, but first investigations led to the following conclusions:

  • using ConfigMaps for such plugins isn't possible, due to the 1MB limit imposed by etcd
  • serving the plugins through the repositories Pod directly from product ISOs could do the trick, as Grafana allows retrieving as ZIP archives from arbitrary URLs
@gdemonet gdemonet added kind:debt Technical debt topic:solutions Anything related to external "Solutions" integration with the platform topic:monitoring Everything related to monitoring of services in a running cluster topic: cluster&service configuration Anything related to cluster and service configuration persistence labels Jun 9, 2020
@NicolasT
Copy link
Contributor

NicolasT commented Jun 9, 2020

I'm not sure we should go as far, at least for now. The plugins required for dashboard included in MetalK8s can be included as they are now. For Scality solutions, they can be added per request in a MetalK8s release (do we foresee a lot of them would be needed?).

@gdemonet
Copy link
Contributor Author

gdemonet commented Jun 9, 2020

I'm more concerned for users willing to deploy/build their own dashboards (and have no clue how many plugins would be required).

@thomasdanan thomasdanan added this to the MetalK8s 2.7.0 milestone Oct 14, 2020
@thomasdanan
Copy link
Contributor

We need to have a proper solution to manage user custos (like creating dashboards) without requesting additional CLI steps. It seems that the best approach to have customization persistence, HA, and maybe leverage the Grafana annotation feature is having a real DB behind Grafana (to be confirmed)

@gdemonet
Copy link
Contributor Author

gdemonet commented Oct 14, 2020

@thomasdanan This issue is about custom plugins, which is a different topic from what you are discussing here, which is persisting changes done in Grafana UI. Let's open a different ticket for tracking this (edit: opened #2851).

@gdemonet gdemonet removed this from the MetalK8s 2.7.0 milestone Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:debt Technical debt topic: cluster&service configuration Anything related to cluster and service configuration persistence topic:monitoring Everything related to monitoring of services in a running cluster topic:solutions Anything related to external "Solutions" integration with the platform
Projects
None yet
Development

No branches or pull requests

3 participants