-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] How to deal with 1MB chart size limit when creating dashboards? #209
Comments
I had a really good discussion about the various options to overcome this in the grafana labs slack. Transcript:
|
Hey, when using the configmapgenerator this could happen the same. A ~workaround could be to remove all spaces and minify the file via |
You can add dashboard as configmaps not part of the chart by enabling sidecar for dashboards |
I believe that the 1MiB limitation applies to one single ConfigMap object. What I mean is that you could split the ~40 dashboards into ~40 ConfigMaps. The sidecar should detect them and create dashboards for you à la controller, unless I misunderstood how the sidecar works... I believe that's how |
Helm has a 1MB size limit for charts, which means if you're putting the dashboards in a chart it can only support roughly ~40 dashboards or so. If you have different dashboards for each environment you can easily hit that number of dashboards or more. I'm wondering how people with a lot of dashboards avoid this issue.
https://helm.sh/docs/chart_template_guide/accessing_files/
The text was updated successfully, but these errors were encountered: