Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无状态组件实现挂载到自己搭建的CEPH集群上 #1687

Closed
identify4cloud opened this issue Jun 29, 2023 · 3 comments
Closed

无状态组件实现挂载到自己搭建的CEPH集群上 #1687

identify4cloud opened this issue Jun 29, 2023 · 3 comments
Assignees
Labels
Milestone

Comments

@identify4cloud
Copy link

现在每次构建完组件都得再删一次存储,改成有状态组件,在重新挂载存储,感觉挺浪费时间的,不知能否实现无状态组件也可以挂载到自己搭建的存储集群上

@identify4cloud identify4cloud added the kind/feature Feature Suggestions label Jun 29, 2023
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: null

Now every time the component is built, the storage has to be deleted again, changed to a stateful component, and the storage is remounted. It feels like a waste of time. I don’t know if the stateless component can also be mounted on the storage cluster built by myself@ @==== Stateless components are mounted on the CEPH cluster built by themselves

@yangkaa
Copy link
Collaborator

yangkaa commented Jun 30, 2023

后续打算支持直接使用集群中的 sc 作为共享存储。目前针对你说的这种情况,可以在组件创建的引导流程中直接设置。
image

image

@ZhangSetSail
Copy link
Collaborator

ZhangSetSail commented Jul 7, 2023

支持了共享存储自定义存储。详细使用方式:

  1. 等待 Rainbond v5.14.3 版本的发布后升级,需要注意的是升级后之前的共享存储将不可用,需备份好数据后升级。
  2. 确定自定义存储的 storageclass 名称。
  3. 编辑 rbdcomponent 类型资源 的 rbd-worker
kubectl edit rbdcomponent rbd-worker -nrbd-system

spec字段中添加如下行

spec:
  args:
  - --shared-storageclass=你的自定义存储的storageclass名称

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants