4paradigm / 4paradigm/OpenMLDB

add doc about docker with wsl2 and sbin ip

Offen
#3,171 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @vagetablechicken Auf GitHub ansehen
documentation
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

- [ ] 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即可。

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bash, docker, shell
Bereich
devops, documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.