kubernetes-rook

Volume is already attached by pod

那年仲夏 提交于 2021-02-20 04:50:31
问题 I install kubernetes on ubuntu on baremetal. I deploy 1 master and 3 worker. and then deploy rook and every thing work fine.but when i want to deploy a wordpress on it ,it stuck in container creating and then i delete wordpress and now i got this error Volume is already attached by pod default/wordpress-mysql-b78774f44-gvr58. Status Running #kubectl describe pods wordpress-mysql-b78774f44-bjc2c Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 3m21s default

How to add flag to kubelet

爱⌒轻易说出口 提交于 2020-01-06 06:20:53
问题 I want to deploy rook for kubernetes. I use 1 master and 3 worker and the host is ubuntu in baremetal. but the container stuck in creating container. after a lot of search i understand i should use this document https://github.com/rook/rook/blob/master/Documentation/flexvolume.md#most-common-readwrite-flexvolume-path that said Configuring the Rook operator You must provide the above found FlexVolume path when deploying the rook-operator by setting the environment variable FLEXVOLUME_DIR_PATH.

How to add flag to kubelet

这一生的挚爱 提交于 2020-01-06 06:20:33
问题 I want to deploy rook for kubernetes. I use 1 master and 3 worker and the host is ubuntu in baremetal. but the container stuck in creating container. after a lot of search i understand i should use this document https://github.com/rook/rook/blob/master/Documentation/flexvolume.md#most-common-readwrite-flexvolume-path that said Configuring the Rook operator You must provide the above found FlexVolume path when deploying the rook-operator by setting the environment variable FLEXVOLUME_DIR_PATH.

failed to mount volume /dev/rbd1 [xfs]

只愿长相守 提交于 2019-12-11 16:18:31
问题 I install kubernetes with 1 master and 3 worker and deploy rook on it and the ceph status in rook-tools shows ok . there is wordpress template in https://github.com/rook/rook.git and when i create it the pod does not created and #kubectl describe pods wordpress-mysql-b78774f44-m548z -n default Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedMount 15m (x51 over 128m) kubelet, ubuntu2 Unable to mount volumes for pod "test-pod-rbd_rook-ceph(15abe007-53a4-11e9-abd9