From eb754d9112e6c920282aaed168f9ec159db5acda Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 5 Jun 2025 07:06:40 -0500 Subject: [PATCH] grafana: Update to 11.5.5 The legacy alerting feature (which we never used) has been deprecated for a long time and removed in Grafana 11. The corresponding configuration block must be removed from the config file or Grafana will not start. --- grafana/grafana.ini | 36 ------------------------------------ grafana/grafana.yaml | 5 +++++ grafana/kustomization.yaml | 4 ++++ 3 files changed, 9 insertions(+), 36 deletions(-) diff --git a/grafana/grafana.ini b/grafana/grafana.ini index af259ef..072e550 100644 --- a/grafana/grafana.ini +++ b/grafana/grafana.ini @@ -594,42 +594,6 @@ global_api_key = -1 # global limit on number of logged in users. global_session = -1 -#################################### Alerting ############################ -[alerting] -# Disable alerting engine & UI features -enabled = true -# Makes it possible to turn off alert rule execution but alerting UI is visible -execute_alerts = true - -# Default setting for new alert rules. Defaults to categorize error and timeouts as alerting. (alerting, keep_state) -error_or_timeout = alerting - -# Default setting for how Grafana handles nodata or null values in alerting. (alerting, no_data, keep_state, ok) -nodata_or_nullvalues = no_data - -# Alert notifications can include images, but rendering many images at the same time can overload the server -# This limit will protect the server from render overloading and make sure notifications are sent out quickly -concurrent_render_limit = 5 - -# Default setting for alert calculation timeout. Default value is 30 -evaluation_timeout_seconds = 30 - -# Default setting for alert notification timeout. Default value is 30 -notification_timeout_seconds = 30 - -# Default setting for max attempts to sending alert notifications. Default value is 3 -max_attempts = 3 - -# Makes it possible to enforce a minimal interval between evaluations, to reduce load on the backend -min_interval_seconds = 1 - -# Configures for how long alert annotations are stored. Default is 0, which keeps them forever. -# This setting should be expressed as an duration. Ex 6h (hours), 10d (days), 2w (weeks), 1M (month). -max_annotation_age = - -# Configures max number of alert annotations that Grafana stores. Default value is 0, which keeps all alert annotations. -max_annotations_to_keep = - #################################### Annotations ######################### [annotations.dashboard] diff --git a/grafana/grafana.yaml b/grafana/grafana.yaml index 412282f..7951e53 100644 --- a/grafana/grafana.yaml +++ b/grafana/grafana.yaml @@ -76,6 +76,8 @@ spec: - mountPath: /etc/grafana/provisioning/datasources name: datasources readOnly: true + - mountPath: /tmp + name: tmp - mountPath: /run/secrets/grafana name: secrets readOnly: true @@ -96,6 +98,9 @@ spec: - name: grafana persistentVolumeClaim: claimName: grafana + - name: tmp + emptyDir: + medium: Memory - name: secrets secret: secretName: grafana diff --git a/grafana/kustomization.yaml b/grafana/kustomization.yaml index 4c50de3..e60d57d 100644 --- a/grafana/kustomization.yaml +++ b/grafana/kustomization.yaml @@ -54,3 +54,7 @@ patches: - name: loki-client-cert secret: secretName: loki-client-cert + +images: +- name: docker.io/grafana/grafana + newTag: 11.5.5