4paradigm / 4paradigm/OpenMLDB

add doc about docker with wsl2 and sbin ip

Aperta
#3,171 1 commento 0 reazioni 1 assegnatario Rivendicata da @vagetablechicken Vedi su GitHub
documentation
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
bash, docker, shell
Ambito
devops, documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.