apache / apache/devlake-helm-chart
Grafana Kubernetes Pod stuck in Container Init
- Dominant language
- Go Template
- Stars
- 52
- Forks
- 72
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 1
Description
Release : [1.0.0-beta5](https://github.com/apache/incubator-devlake-helm-chart/releases/tag/devlake-1.0.0-beta5)
-
Post upgrade of Devlake using Helm Chart, I encountered the following error.
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 6m47s default-scheduler Successfully assigned devlake/devlake-grafana-6554869b4-czhzw to ip-10-85-44-217.ap-south-1.compute.internal
Warning FailedAttachVolume 6m47s attachdetach-controller Multi-Attach error for volume "pvc-fff59316-7f48-406d-abb1-9c02c0895571" Volume is already used by pod(s) devlake-grafana-79775f95f8-4ksq9
Warning FailedMount 2m28s (x2 over 4m44s) kubelet Unable to attach or mount volumes: unmounted volumes=[storage], unattached volumes=[storage kube-api-access-sh8m6 config]: timed out waiting for the condition
Warning FailedMount 10s kubelet Unable to attach or mount volumes: unmounted volumes=[storage], unattached volumes=[kube-api-access-sh8m6 config storage]: timed out waiting for the condition
```
Workaround:
-
```
➜ ~ k -n devlake scale deployment/devlake-grafana --replicas=0
deployment.apps/devlake-grafana scaled
➜ ~ k -n devlake scale deployment/devlake-grafana --replicas=1
deployment.apps/devlake-grafana scaled
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.