Pod status as `CreateContainerConfigError` in Minikube cluster

后端 未结 6 1811
挽巷
挽巷 2021-02-05 00:18

I am trying to run Sonarqube service using the following helm chart.

So the set-up is like it starts a MySQL and Sonarqube service in the minikube cluster a

6条回答
  •  既然无缘
    2021-02-05 00:47

    Check your secrets and config maps (kubectl get [secrets|configmaps]) that already exist and are correctly pointed in the YAML descriptor file, in both cases an incorrect secret/configmap (not created, mispelling, etc.) results in CreateContainerConfigError.

    As already pointed in the answers can check the error with kubectl describe pod [pod name] and something like this should appear at the bottom of the ouput:

      Warning  Failed     85s (x12 over 3m37s)  kubelet, gke-****-default-pool-300d3c89-9jkz
      Error: configmaps "config-map-1" not found
    

提交回复
热议问题