I am creating a helm chart that contains many configmaps (20+) and everytime that I launch it the pod crashes and when I run kubectl describe
it is full of warnings such as below:
Warning FailedMount 24m kubelet, A-p51 MountVolume.SetUp failed for volume "bridge-dep" : failed to sync configmap cache: timed out waiting for the condition
Warning FailedMount 24m kubelet, A-p51 MountVolume.SetUp failed for volume "dashboard-hpa" : failed to sync configmap cache: timed out waiting for the condition
Warning FailedMount 24m kubelet, A-p51 MountVolume.SetUp failed for volume "dashboard-crb" : failed to sync configmap cache: timed out waiting for the condition
Warning FailedMount 24m kubelet, A-p51 MountVolume.SetUp failed for volume "bridge-http-svc" : failed to sync configmap cache: timed out waiting for the condition
I checked the configmaps with the kubectl get cm [cm-name] -o yaml
and they all exist and correct but I don't know why the pod crashes.
BTW, I am using Microk8s and K8s 1.16 for my development.