From d1651b54ec9fa006012cec084e8ec2074218d9f4 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 26 May 2022 10:45:16 +0800 Subject: [PATCH] ingress --- deploy_k8s/k8s_openim_deploy.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy_k8s/k8s_openim_deploy.md b/deploy_k8s/k8s_openim_deploy.md index d4ccb4bfe..017fb0e85 100644 --- a/deploy_k8s/k8s_openim_deploy.md +++ b/deploy_k8s/k8s_openim_deploy.md @@ -17,15 +17,14 @@ nodeSelector: node: kube-Node 创建资源清单时添加上nodeSelector属性对应即可 修改每种服务数量,建议至少每种2个rpc。 -如果修改了config/config.yaml某些配置比如端口,同时需要修改对应deployment端口 +如果修改了config/config.yaml某些配置比如端口,同时需要修改对应deployment端口和ingress端口 -jssdk 需要在sdk_server/deployment.yaml修改启动端口等 ### 4. 修改ingress.yaml配置文件 -域名修改等操作 +需要安装ingress controller 这里使用的是ingress-nginx 其他ingress需要修改配置文件 +进行域名修改等操作 ### 5. 执行./kubectl_start.sh脚本 -需要安装ingress controller chmod +x ./kubectl_start.sh ./kubectl_stop.sh ./kubectl_start.sh kubectl -n openim apply -f ingress.yaml @@ -35,4 +34,4 @@ kubectl 启动所有deployment,services,ingress kubectl -n openim get services kubectl -n openim get deployment kubectl -n openim get ingress -kubectl -n openim get pods \ No newline at end of file +kubectl -n openim get pods