4paradigm / 4paradigm/OpenMLDB
add doc about docker with wsl2 and sbin ip
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
- [ ] 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即可。
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- bash, docker, shell
- Área
- devops, documentation
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100