来自服务器的错误(BadRequest):pod中的容器“ mariadb”正在等待启动:CreateContainerConfigError

时间:2018-11-13 17:06:08

标签: wordpress kubernetes mariadb

此Helm图表(https://github.com/helm/charts/tree/master/stable/wordpress)应使用以下命令在Kubernetes上安装WordPress:

helm install stable/wordpress

但是,我得到了

kubectl get pods
NAME                             READY   STATUS                       RESTARTS   AGE
wp-1-mariadb-0                   0/1     CreateContainerConfigError   0          30m
wp-1-wordpress-7bff96d46-4bss6   0/1     CrashLoopBackOff             8          30m

k logs wp-1-mariadb-0
Error from server (BadRequest): container "mariadb" in pod "wp-1-mariadb-0" is waiting to start: CreateContainerConfigError

kubectl describe pod wp-1-mariadb-0
Normal   Pulled                 5s (x5 over 48s)  kubelet, minikube  Container image "docker.io/bitnami/mariadb:10.1.36-debian-9" already present on machine
Warning  Failed                 5s (x5 over 48s)  kubelet, minikube  Error: failed to prepare subPath for volumeMount "config" of container "mariadb"

任何建议可能是什么问题?

0 个答案:

没有答案