Skip to content

Grafana Dashboards not being installed as expected #1875

@dustinmoris

Description

@dustinmoris

I am using the latest operator (0.25.5) and when I enable the creation of Grafana dashboards, then I am getting the following error:

The ConfigMap "clickhouse-operator-dashboards" is invalid: metadata.annotations: Too long: may not be more than 262144 bytes

I am using the following values.yaml when applying the operator Helm chart:

nameOverride: clickhouse-operator
serviceMonitor:
  enabled: true
  additionalLabels:
    release: kube-prometheus-stack
    team: "platform"
dashboards:
  enabled: true
  additionalLabels:
    grafana_dashboard: "1"
    release: kube-prometheus-stack
  grafana_folder: "clickhouse"

Currently my workaround is to output the manifests to disk and then I break out the dashboard ConfigMap into its own yaml file so I can apply it using the --server-side flag:

kubectl apply --server-side -f dashboards.yaml

However, I noticed that even then the dashboards were not put into the specified "clickhouse" folder.

It seems that the setting grafana_folder: "clickhouse" doesn't do anything. I pulled the chart locally and did a search across the entire chart for grafana_folder and indeed this value is not being used in any of the templates of the chart at the moment.

Hope that helps! Let me know if there is any more information I can provide. Thank you for creating this operator and making it OSS!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions