4

K8s 使用传统的 Ceph(非 rook-ceph)的 rbd 请教

 2 years ago
source link: https://www.v2ex.com/t/782747
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
K8s 使用传统的 Ceph(非 rook-ceph)的 rbd 请教
12 条回复    2021-06-11 09:32:58 +08:00

hijoker

hijoker   11 小时 26 分钟前

新坑来了,移除支持了[deprecate and remove hyperkube support in kubeadm]( https://github.com/kubernetes/kubeadm/issues/1889)

hijoker

hijoker   10 小时 13 分钟前

在比较新的 K8s 环境:v1.20 上,也会报 failed to create rbd image: executable file not found in $PATH, command output 这个错。。

wellsc

wellsc   9 小时 5 分钟前

这么猛吗,生产环境敢用 k8s 搞 ceph

hijoker

hijoker   8 小时 46 分钟前

@wandehul 不,v1.20 都还有这个问题,大哥,你是咋进入 controller-manager 的,kubectl exec -it pod-controller-manager -- sh, -- /bin/bash 都不行啊

hijoker

hijoker   8 小时 45 分钟前

@wellsc sb 客户要搞,最开始用的 rook-ceph,要交付了,特么的说要用的是传统的非 K8s 环境的 ceph 。。。。。

superchijinpeng

superchijinpeng   1 小时 56 分钟前 via iPhone

3. node 节点安装 ceph-common 这个包就可以了

superchijinpeng

superchijinpeng   1 小时 55 分钟前 via iPhone

上家公司 Jupyter Lab 存储用的 Ceph RBD,这个坑就是这样解决的,注意版本不要 1.10 最好 1.12+,否则会出现 mount 超时

plko345

plko345   1 小时 7 分钟前 via Android

@wellsc 有什么风险,正想这么搞

hijoker

hijoker   35 分钟前

@superchijinpeng 不行,这个环境是 kubeadm 容器化安装的,在 node 上安装 ceph-common 这个包没用,应该是 controller-manager 这个组件的镜像里面没有打相关的工具早成的

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   3402 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 16ms · UTC 01:38 · PVG 09:38 · LAX 18:38 · JFK 21:38
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK