-1

If i use Helm, I am getting

"one or more objects failed to apply", reason Configmap "Grafana-configs" is invalid [metadata.annotations: Too long: must have at most 262144 bytes. []: Too long must have at most 1048576 bytes.

If i use Kubernetes to deploy Grafana along with customised dashbords [15 no's] also getting the above error.

Screnshot of error

James Z
  • 12,209
  • 10
  • 24
  • 44
Goutham
  • 7
  • 3

1 Answers1

0

https://kubernetes.io/docs/concepts/configuration/configmap/

A ConfigMap is not designed to hold large chunks of data. The data stored in a ConfigMap cannot exceed 1 MiB. If you need to store settings that are larger than this limit, you may want to consider mounting a volume or use a separate database or file service.

So if you store 15 dashboards in the configmap, then you will very likely reach configmap 1MiB size limit.

You can use Helm to deploy 15 dashboards, but definetely you can't use a helm chart, which use config map for that.

Jan Garaj
  • 25,598
  • 3
  • 38
  • 59