mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-05 20:11:14 +08:00
k8s deploy
This commit is contained in:
parent
aae7bb45ec
commit
5326741b26
@ -7,6 +7,8 @@ etcd:
|
||||
etcdSchema: openIM #默认即可
|
||||
etcdAddr: [ 127.0.0.1:2379 ] #单机部署时,默认即可
|
||||
|
||||
k8sMod: false #开启k8s模式 使用pod里面环境变量请求services调用服务 而并非etcd
|
||||
|
||||
mysql:
|
||||
dbMysqlAddress: [ 127.0.0.1:13306 ] #mysql地址 目前仅支持单机,默认即可
|
||||
dbMysqlUserName: root #mysql用户名,建议修改
|
||||
|
@ -16,6 +16,8 @@ nodeSelector:
|
||||
创建资源清单时添加上nodeSelector属性对应即可
|
||||
修改每种服务数量,建议至少每种2个rpc。
|
||||
|
||||
jssdk 需要在sdk_server/deployment.yaml修改启动端口等
|
||||
|
||||
### 4. 修改ingress.yaml配置文件
|
||||
|
||||
### 5. 执行./kubectl_start.sh脚本
|
||||
|
@ -22,6 +22,8 @@ service=(
|
||||
demo
|
||||
)
|
||||
|
||||
mkdir -p /db/sdk #path for jssdk sqlite
|
||||
|
||||
for i in ${service[*]}
|
||||
do
|
||||
kubectl -n openim apply -f ./${i}/deployment.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user