mongodb - 无法附加 GCE PD,等待挂载路径超时

标签 mongodb kubernetes google-kubernetes-engine

这已经失控了……有很好的 GKE 规范,但是,我的挂载路径超时,我已经在 github 上发布了这个问题,但他们说,如果在 SO 上发布会更好。请解决这个问题..

2m      2m      1   {scheduler }                                        Scheduled   Successfully assigned mongodb-shard1-master-gp0qa to gke-cluster-1-micro-a0f27b19-node-0p2j
1m      1m      1   {kubelet gke-cluster-1-micro-a0f27b19-node-0p2j}    FailedMount Unable to mount volumes for pod "mongodb-shard1-master-gp0qa_default": Could not attach GCE PD "shard1-node1-master". Timeout waiting for mount paths to be created.
1m      1m      1   {kubelet gke-cluster-1-micro-a0f27b19-node-0p2j}    FailedSync  Error syncing pod, skipping: Could not attach GCE PD "shard1-node1-master". Timeout waiting for mount paths to be created.

最佳答案

此问题已多次记录,例如此处 https://github.com/kubernetes/kubernetes/issues/14642 . Kubernetes v1.3.0 应该有一个修复。

作为解决方法(在 GCP 中),您可以重新启动 VM。

希望这对您有所帮助!

关于mongodb - 无法附加 GCE PD,等待挂载路径超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34171019/

相关文章:

node.js - 如何将 HTTP REQUEST PUT 与 odata.PUT 结合使用来更新数据库条目?

MongoDB 查询集合组的集合差异

kubernetes - GKE 中的分离环境 : multiple clusters or multiple projects?

kubernetes - GKE丛集v1.2.4-路线娱乐

Javascript 没有为变量分配新值

kubernetes - 使用 codecentrics Helm Charts 在 Kubernetes 高可用性集群(使用 ldap 作为用户联合)上的 Keycloak

apache-spark - 在Kubernetes/Mesos中运行YARN集群

docker - Kubernetes 拨号 tcp myIP :10250: connect: no route to host

kubernetes - k8s : error converting YAML to JSON: yaml: line 33: found character that cannot start any token

node.js - 使用 Mongoose 将元素添加到 MongoDB 中的数组