Skip to content
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

[kubernetes] missing namespace for configmap opentelemetry-demo-grafana-dashboards #1336

Closed
hsinhoyeh opened this issue Jan 17, 2024 · 0 comments · Fixed by #1341
Closed
Labels
bug Something isn't working

Comments

@hsinhoyeh
Copy link

Bug Report

This issue occurred while running Kubernetes demo with manifests specified in the manifests

The Grafana pod under the namespace otel-demo is waiting for the configmaps opentelemetry-demo-grafana-dashboards to be ready, whereas that configmaps is under the namespace default.

Symptom

Grafana pod is not ready, showing a timeout

kubectl  -n otel-demo get pods
NAME                                                    READY   STATUS              RESTARTS   AGE
opentelemetry-demo-grafana-7bf686df5d-7wcpn             0/1     ContainerCreating   0          7m5s

kubectl  -n otel-demo describe pods opentelemetry-demo-grafana-7bf686df5d-7wcpn

  Warning  FailedMount  4m29s                 kubelet            Unable to attach or mount volumes: unmounted volumes=[dashboards-default], unattached volumes=[storage dashboards-default kube-api-access-lcgc5 config]: timed out waiting for the condition
  Warning  FailedMount  2m12s                 kubelet            Unable to attach or mount volumes: unmounted volumes=[dashboards-default], unattached volumes=[dashboards-default kube-api-access-lcgc5 config storage]: timed out waiting for the condition
  Warning  FailedMount  20s (x11 over 6m32s)  kubelet            MountVolume.SetUp failed for volume "dashboards-default" : configmap "opentelemetry-demo-grafana-dashboards" not found

What do you expect to see?

Grafana pod is ready

What did you see instead?

Grafana pod is in ContainerCreating status

Reproduce

run

kubectl apply -f https://raw.githubusercontent.com/open-telemetry/opentelemetry-demo/main/kubernetes/opentelemetry-demo.yaml

and see pods status with kubectl get pods -n otel-demo -w

Additional Context

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant