Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Rancher cluster startup service mount rbd storage error troubleshooting

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

After the deployment of the rook-ceph cluster is completed, the new CVM finds that all container nodes cannot mount storage space:

Rancher platform launches container error display:

The Deployment does not have minimum availability solution is as follows:

For the k8s cluster deployed by my rke, you need to modify the rke cluster.yaml file to place the plug-in directory inside the container and add the following:

Kubelet: extra_args: cgroup-driver: 'systemd' kubelet: extra_args: volume-plugin-dir: / usr/libexec/kubernetes/kubelet-plugins/volume/exec extra_binds:-/ usr/libexec/kubernetes/kubelet-plugins/volume/exec:/usr/libexec/kubernetes/kubelet-plugins/volume/exec update cluster configuration cd / etc/rke/ [root@cnvs-kubm-101-103 rke] # lltotal 10716-rw -r-1 root root 121688 Sep 4 11:09 cluster.rkestate-rw-r--r-- 1 root root 1567 Sep 4 11:00 cluster.yml-rw-r- 1 root root 5431 Sep 4 11:08 kube_config_cluster.yml# execute rke up

After the cluster upgrade is completed, the storage space is re-established, and the disk can be mounted normally by starting the service again.

Reference documentation:

Https://github.com/rook/rook/blob/master/Documentation/flexvolume.md

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report