k8s deploy

This commit is contained in:
wangchuxiao 2022-05-23 17:22:27 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent db93f7cba9
commit bbbeaa0f0d

View File

@ -22,7 +22,7 @@ spec:
- name: config - name: config
mountPath: /Open-IM-Server/config mountPath: /Open-IM-Server/config
readOnly: true readOnly: true
- name: localDB - name: local-db
mountPath: /db/sdk mountPath: /db/sdk
command: ["/Open-IM-Server/main"] command: ["/Open-IM-Server/main"]
args: ["-openIM_api_port", "10002", "-openIM_ws_port", "10001", "-sdk_ws_port", "10003", "-openIM_log_level", "6"] args: ["-openIM_api_port", "10002", "-openIM_ws_port", "10001", "-sdk_ws_port", "10003", "-openIM_log_level", "6"]
@ -30,7 +30,7 @@ spec:
- name: config - name: config
configMap: configMap:
name: config name: config
- name: localDB - name: local-db
hostPath: hostPath:
path: /db/sdk path: /db/sdk
type: Directory type: Directory