mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-01 21:05:15 +08:00
k8s deploy
This commit is contained in:
parent
03ae935756
commit
8240cb9c0f
@ -40,4 +40,4 @@ spec:
|
||||
port: 10006
|
||||
targetPort: 10006
|
||||
selector:
|
||||
app: cms_api
|
||||
app: cms-api
|
@ -6,6 +6,7 @@
|
||||
kubectl create namespace openim
|
||||
kubectl -n openim create configmap config --from-file=config/config.yaml
|
||||
openim 为im项目的namespace, 可选
|
||||
查看configmap
|
||||
kubectl -n openim get configmap
|
||||
|
||||
### 3(可选). 修改每个deployment.yml
|
||||
|
@ -41,6 +41,6 @@ spec:
|
||||
port: 10001
|
||||
targetPort: 10001
|
||||
selector:
|
||||
app: demo
|
||||
app: msg-gateway
|
||||
|
||||
|
@ -40,6 +40,6 @@ spec:
|
||||
port: 10003
|
||||
targetPort: 10003
|
||||
selector:
|
||||
app: demo
|
||||
app: sdk-server
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user