zoukankan      html  css  js  c++  java
  • Volume is already attached by pod default/nginx-deployment-86dfb99868-szpkd. Status Running

    1.部署WordPress - mysql ,想扩容,修改deployment,结果报错:

    MountVolume.SetUp failed for volume "pvc-e" : mount command failed, status: Failure, reason: Rook: Mount volume failed: failed to attach volume pvc-ed for pod default/nginx-deployment. Volume is already attached by pod default/nginx-deployment. Status Running

    2.分析:the volumes provisioned and mounted by rook-ceph-block are ReadWriteOncemeaning they can not have more than one writer attach to the same volume. 

    3.intending for them all to access/share the same volume? If so, you could look at using a shared filesystem instead: https://rook.io/docs/rook/v0.8/filesystem.html

    4.want the 3 replicas to each get their own volume, you could consider using a StatefulSet instead that has a volumeClaimTemplate. Specifying the rook-ceph-block storage class in that template would get 3 separate volumes created for you

    4.rook架构图

  • 相关阅读:
    内存相关函数
    Redis入门
    libevent(九)evhttp
    Python基础00 教程
    Python之re模块
    Makefile入门
    cmake安装jsoncpp
    awk调用date命令
    SQLite使用(二)
    SQLite使用(一)
  • 原文地址:https://www.cnblogs.com/hixiaowei/p/10144164.html
Copyright © 2011-2022 走看看