Skip to content

fix: observability setup guide #856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

mikenairn
Copy link
Member

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.

Events:                                                                                                                                                                                                                                                                                                                       
  Type     Reason       Age                   From               Message                                                                                       
  ----     ------       ----                  ----               -------                                                                                                                                                                                                                                                      
  Normal   Scheduled    16m                   default-scheduler  Successfully assigned monitoring/grafana-6bcdcb4b5d-t27lh to kuadrant-local-control-plane     
  Warning  FailedMount  16m (x5 over 16m)     kubelet            MountVolume.SetUp failed for volume "grafana-business-user" : configmap "grafana-business-user" not found                                                                                                                                                    
  Warning  FailedMount  16m (x5 over 16m)     kubelet            MountVolume.SetUp failed for volume "grafana-app-developer" : configmap "grafana-app-developer" not found                                                                                                                                                    
  Warning  FailedMount  16m (x5 over 16m)     kubelet            MountVolume.SetUp failed for volume "grafana-controller-resources" : configmap "grafana-controller-resources" not found                                                                                                                                      
  Warning  FailedMount  10m (x11 over 16m)    kubelet            MountVolume.SetUp failed for volume "grafana-platform-engineer" : configmap "grafana-platform-engineer" not found                                                                                                                                            
  Warning  FailedMount  6m13s (x13 over 16m)  kubelet            MountVolume.SetUp failed for volume "grafana-controller-runtime" : configmap "grafana-controller-runtime" not found                                                                                                                                          
  Normal   Pulling      7s                    kubelet            Pulling image "grafana/grafana:9.5.3"  

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.

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 <[email protected]>
@david-martin
Copy link
Member

Thanks for fixing up the instructions @mikenairn

@david-martin david-martin merged commit f51be7b into Kuadrant:main Sep 13, 2024
10 checks passed
@mikenairn mikenairn deleted the fix_observability_guide branch September 13, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants