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