首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

解决pvc无法mount的问题

"pvc-0a5eb91b-3720-11e8-8d2b-000c29f8a512" Volume is already exclusively attached to one node and can't...be attached to another 可以看到attachdetach-controller报告说这个volume已经被attach到一个node节点上了,因此不能被attach到其它的node...然后检查一下这个volume被哪个node节点attach住了: $ kubectl describe pv pvc-0a5eb91b-3720-11e8-8d2b-000c29f8a512 Source...k8s里volume的卸载过程跟上述场景完全相反: umount,卷已经和对应worker node解除映射,且已经从文件系统umount detach,卷已经从worker node卸载 recycle...问题二 问题描述 还是上述那个场景,这次对deployment作了一次滚动更新,这时k8s会新创建一个pod,尝试挂载volume,但这次原来那个node节点上pod仍处于Running状态,因而其使用

9.2K40
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    【玩转腾讯云】K8s存储 —— AttachDetach Controller与TKE现网案例分析

    但是从kubelet日志却发现Volume not attached according to node status ,也就是说kubelet认为cbs没有按照node的状态去挂载。...根据Volume not attached according to node status 在代码中找到对应的位置,发现在GenerateVerifyControllerAttachedVolumeFunc...,如果没有找到就报错(Volume not attached according to node status) 所以可以看出来,volume manager就是根据volume是否存在于__node.Status.VolumesAttached...中的内存把新建pod引用的volume同步到了volumesToMount中,在验证volume是否attach时,就会报错(Volume not attached according to node...中没有这个voume,也就认为没有attach成功,所以就有了现象中的报错Volume not attached according to node status 之后kubelet的syncPod在等待

    2.8K70

    揭秘 Kubernetes attachdetach controller 逻辑漏洞致使 pod 启动失败

    但是从 kubelet 日志却发现Volume not attached according to node status ,也就是说 kubelet 认为 cbs 没有按照 node 的状态去挂载。...根据Volume not attached according to node status 在代码中找到对应的位置,发现在GenerateVerifyControllerAttachedVolumeFunc...,如果没有找到就报错(Volume not attached according to node status); 所以可以看出来,volume manager 就是根据 volume 是否存在于node.Status.VolumesAttached...中的内存把新建 pod 引用的 volume 同步到了volumesToMount中,在验证 volume 是否 attach 时,就会报错(Volume not attached according...node.status.VolumesAttached中没有这个 voume,也就认为没有 attach 成功,所以就有了现象中的报错Volume not attached according to node

    2K43

    扫码

    添加站长 进交流群

    领取专属 10元无门槛券

    手把手带您无忧上云

    扫码加入开发者社群

    热门标签

    领券