mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
k8s deploy
This commit is contained in:
parent
d17559c528
commit
db93f7cba9
@ -22,10 +22,18 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: localDB
|
||||||
|
mountPath: /db/sdk
|
||||||
|
command: ["/Open-IM-Server/main"]
|
||||||
|
args: ["-openIM_api_port", "10002", "-openIM_ws_port", "10001", "-sdk_ws_port", "10003", "-openIM_log_level", "6"]
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: config
|
name: config
|
||||||
|
- name: localDB
|
||||||
|
hostPath:
|
||||||
|
path: /db/sdk
|
||||||
|
type: Directory
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user