From f51be7bcefcfb51d36d618be45b035e9fd765a02 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Fri, 13 Sep 2024 16:12:47 +0100 Subject: [PATCH] fix: observability setup guide (#856) Add examples/dashboards to the list of required kustomizations that must be included to have grafana function. Currently, if you do not apply the example dashboards kustomization the grafana deployment will never start as there are configmaps missing that are being mounted by the deployment causing the pod to never initialize with various errors like `MountVolume.SetUp failed for volume "grafana-business-user" : configmap "grafana-business-user" not found`. Note: I do not believe this to be the correct long term fix, if grafana requires those configmaps it should be part of the grafana kustomization to create them. Signed-off-by: Michael Nairn --- config/observability/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/config/observability/README.md b/config/observability/README.md index 7b28d6090..c096375c8 100644 --- a/config/observability/README.md +++ b/config/observability/README.md @@ -5,6 +5,7 @@ ```bash ./bin/kustomize build ./config/observability/| docker run --rm -i ryane/kfilt -i kind=CustomResourceDefinition | kubectl apply --server-side -f - ./bin/kustomize build ./config/observability/| docker run --rm -i ryane/kfilt -x kind=CustomResourceDefinition | kubectl apply -f - +./bin/kustomize build ./examples/dashboards | kubectl apply -f - ``` This will deploy prometheus, alertmanager and grafana into the `monitoring` namespace,