Skip to content

Commit

Permalink
fix: observability setup guide (#856)
Browse files Browse the repository at this point in the history
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 <mnairn@redhat.com>
  • Loading branch information
mikenairn committed Sep 13, 2024
1 parent 024a68c commit f51be7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/observability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f51be7b

Please sign in to comment.