opencurve / curveadm

Deploy and manage Curve cluster
Apache License 2.0
66 stars 72 forks source link

support export the yaml that tools-v2 used #315

Open caoxianfei1 opened 1 year ago

caoxianfei1 commented 1 year ago

provide a command that export the yaml file to use for tools-v2.

global:
  httpTimeout: 1000ms
  rpcTimeout: 1000ms
  rpcRetryTimes: 1
  maxChannelSize: 4
  showError: false

curvefs:
  mdsAddr: 10.182.2.46:7811,10.182.2.47:7811,10.182.2.48:7811
  mdsDummyAddr: 10.182.2.46:8811,10.182.2.47:8811,10.182.2.48:8811
  etcdAddr: 10.182.2.46:3490,10.182.2.47:3490,10.182.2.48:3490
  s3:
    ak: minioadmin
    sk: minioadmin
    endpoint: http://10.182.30.15:9000
    bucketname: chengyi01
curvebs:
  mdsAddr: 10.182.2.46:9200,10.182.2.46:9201,10.182.2.46:9202
  mdsDummyAddr: 10.182.26.46:9210,10.182.26.46:9211,10.182.26.46:9212
  etcdAddr: 10.182.2.46:3510,10.182.2.46:3511,10.182.2.46:3512
  root:
    user: root
    password: root_password

Registration procedure

Step 1. Add a comment when you sign up.The purpose of comments is for us to understand you and determine whether you have the basic ability to complete this issue.

Step 2. Use WeChat to add the Curve community assistant "Curve" as a WeChat friend, tell your GitHub ID, and send the Issue link of your choice. The assistant will invite you to communicate with the mentor by WeChat.

Step 3. In order to better complete each development task, the mentor will select the developer who best matches the issue based on everyone's comment on GitHub and communication status by WeChat. If you are not selected, please select another issue.

Tips

hdbdn77 commented 1 year ago

是希望使用 curve COMMAND 命令显示当前的配置吗

youarefree123 commented 1 year ago

Hello, I am a postgraduate student at Nanjing University of Information Science and Technology,commonly used languages are C++ and Go. I have learned the course MIT6.82. Can I try this issue?

caoxianfei1 commented 1 year ago

是希望使用 curve COMMAND 命令显示当前的配置吗

curve COMMAND can generate it.

caoxianfei1 commented 1 year ago

Hello, I am a postgraduate student at Nanjing University of Information Science and Technology,commonly used languages are C++ and Go. I have learned the course MIT6.82. Can I try this issue?

Of course.