4paradigm / 4paradigm/OpenMLDB
add doc about docker with wsl2 and sbin ip
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 1
説明
- [ ] docker desktop with wsl2 backend
- [x] sbin ip
- [x] better to default use cluster mode, not standalone. OPENMLDB_MODE
## sbin ip
0.7.x的部署方式为sbin(init.sh或显式使用sbin/deploy-all.sh&start-all.sh),部署配置使用一个文件`conf/hosts`,配置所有的组件的endpoint和目录
修改为公网IP,即`conf/hosts`中的`localhost:`修改为`:`。
但注意,目前部署脚本如果endpoint非localhost会使用ssh登录目标机器部署,onebox部署的临时解决方式是
```
sed -i '26i host="localhost"' openmldb/sbin/deploy-all.sh
sed -i '93i host="localhost"' openmldb/sbin/init.sh
```
强行让部署时使用本地模式,不使用ssh远程。`conf/hosts`中的endpoint保持公网ip。重新/work/init.sh即可。
コントリビューションガイド
調査の方向性
Look at the sbin/init.sh and sbin/deploy-all.sh scripts to understand the deployment configuration. The issue mentions modifying conf/hosts to use public IPs and adding host="localhost" lines to force local deployment. Check the current state of these scripts and the documentation structure to add a section about Docker with WSL2 backend and the sbin IP workaround.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, docker, shell
- 領域
- devops, documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100