diff --git a/deploy_k8s/admin_cms/deployment.yaml b/deploy_k8s/admin_cms/deployment.yaml index 2da7716ff..369cee350 100644 --- a/deploy_k8s/admin_cms/deployment.yaml +++ b/deploy_k8s/admin_cms/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: admin-cms - image: openim/admin_cms:v2.2.0 + image: openim/admin_cms:v2.3.0release # imagePullPolicy: Always #每次启动都重新拉取镜像 ports: - containerPort: 10200 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/api/deployment.yaml b/deploy_k8s/api/deployment.yaml index 9fc6a5111..e99cf0e76 100644 --- a/deploy_k8s/api/deployment.yaml +++ b/deploy_k8s/api/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: api - image: openim/api:v2.2.0 + image: openim/api:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10002 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/auth/deployment.yaml b/deploy_k8s/auth/deployment.yaml index 19863d6c2..0285ef815 100644 --- a/deploy_k8s/auth/deployment.yaml +++ b/deploy_k8s/auth/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: auth - image: openim/auth:v2.2.0 + image: openim/auth:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10160 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/cache/deployment.yaml b/deploy_k8s/cache/deployment.yaml index 1f9a2b046..b8b3d6244 100644 --- a/deploy_k8s/cache/deployment.yaml +++ b/deploy_k8s/cache/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cache - image: openim/cache:v2.2.0 + image: openim/cache:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10240 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/cms_api/deployment.yaml b/deploy_k8s/cms_api/deployment.yaml index 4c75bc785..e3da1cb62 100644 --- a/deploy_k8s/cms_api/deployment.yaml +++ b/deploy_k8s/cms_api/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cms-api - image: openim/cms_api:v2.2.0 + image: openim/cms_api:v2.3.0release imagePullPolicy: Always ports: - containerPort: 10006 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/conversation/deployment.yaml b/deploy_k8s/conversation/deployment.yaml index e5c385e17..885d92c4b 100644 --- a/deploy_k8s/conversation/deployment.yaml +++ b/deploy_k8s/conversation/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: conversation - image: openim/conversation:v2.2.0 + image: openim/conversation:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10230 @@ -23,6 +23,10 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" + volumes: - name: config configMap: diff --git a/deploy_k8s/demo/deployment.yaml b/deploy_k8s/demo/deployment.yaml index e4594191e..a23abb0b2 100644 --- a/deploy_k8s/demo/deployment.yaml +++ b/deploy_k8s/demo/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: demo - image: openim/demo:v2.2.0 + image: openim/demo:v2.3.0release imagePullPolicy: Always ports: - containerPort: 10004 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/friend/deployment.yaml b/deploy_k8s/friend/deployment.yaml index 5a92a95fc..b57d19f73 100644 --- a/deploy_k8s/friend/deployment.yaml +++ b/deploy_k8s/friend/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: friend - image: openim/friend:v2.2.0 + image: openim/friend:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10120 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/group/deployment.yaml b/deploy_k8s/group/deployment.yaml index 02553d979..99837b758 100644 --- a/deploy_k8s/group/deployment.yaml +++ b/deploy_k8s/group/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: group - image: openim/group:v2.2.0 + image: openim/group:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10150 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/message_cms/deployment.yaml b/deploy_k8s/message_cms/deployment.yaml index d3f6b1c2a..131342ecf 100644 --- a/deploy_k8s/message_cms/deployment.yaml +++ b/deploy_k8s/message_cms/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: message-cms - image: openim/message_cms:v2.2.0 + image: openim/message_cms:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10190 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/msg/deployment.yaml b/deploy_k8s/msg/deployment.yaml index 5a33c17af..e95eb6279 100644 --- a/deploy_k8s/msg/deployment.yaml +++ b/deploy_k8s/msg/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: msg - image: openim/msg:v2.2.0 + image: openim/msg:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10130 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/msg_gateway/deployment.yaml b/deploy_k8s/msg_gateway/deployment.yaml index 0f6b9c798..fc3ff94d5 100644 --- a/deploy_k8s/msg_gateway/deployment.yaml +++ b/deploy_k8s/msg_gateway/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: msg-gateway - image: openim/msg_gateway:v2.2.0 + image: openim/msg_gateway:v2.3.0release # imagePullPolicy: Always ports: - name: rpc-port @@ -26,6 +26,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/msg_transfer/deployment.yaml b/deploy_k8s/msg_transfer/deployment.yaml index b94d9b277..36af35219 100644 --- a/deploy_k8s/msg_transfer/deployment.yaml +++ b/deploy_k8s/msg_transfer/deployment.yaml @@ -15,12 +15,15 @@ spec: spec: containers: - name: msg-transfer - image: openim/msg_transfer:v2.2.0 + image: openim/msg_transfer:v2.3.0release # imagePullPolicy: Always volumeMounts: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/office/deployment.yaml b/deploy_k8s/office/deployment.yaml index c6a7bf813..2dd1c1ec1 100644 --- a/deploy_k8s/office/deployment.yaml +++ b/deploy_k8s/office/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: office - image: openim/office:v2.2.0 + image: openim/office:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10210 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/organization/deployment.yaml b/deploy_k8s/organization/deployment.yaml index b2ec03443..67f21ffca 100644 --- a/deploy_k8s/organization/deployment.yaml +++ b/deploy_k8s/organization/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: organization - image: openim/organization:v2.2.0 + image: openim/organization:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10220 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/push/deployment.yaml b/deploy_k8s/push/deployment.yaml index aaabe9e68..0b8603bf0 100644 --- a/deploy_k8s/push/deployment.yaml +++ b/deploy_k8s/push/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: push - image: openim/push:v2.2.0 + image: openim/push:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10170 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/sdk_server/deployment.yaml b/deploy_k8s/sdk_server/deployment.yaml index ff3aa0e44..f10782220 100644 --- a/deploy_k8s/sdk_server/deployment.yaml +++ b/deploy_k8s/sdk_server/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: sdk-server - image: openim/sdk_server:v2.2.0 + image: openim/sdk_server:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10003 @@ -25,8 +25,11 @@ spec: readOnly: true - name: local-db mountPath: /db/sdk + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" command: ["/Open-IM-Server/main"] - args: ["-openIM_api_port", "10002", "-openIM_ws_port", "10001", "-sdk_ws_port", "10003", "-openIM_log_level", "6"] + args: ["-openIM_ws_address", "ws_addr", "-sdk_ws_port", "10001", "-openIM_api_address", "api_address", "-openIM_log_level", "6"] volumes: - name: config configMap: diff --git a/deploy_k8s/statistics/deployment.yaml b/deploy_k8s/statistics/deployment.yaml index 10c182da7..5fe485ee4 100644 --- a/deploy_k8s/statistics/deployment.yaml +++ b/deploy_k8s/statistics/deployment.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: statistics - image: openim/statistics:v2.2.0 + image: openim/statistics:v2.3.0release # imagePullPolicy: Always ports: - containerPort: 10180 @@ -23,6 +23,9 @@ spec: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: diff --git a/deploy_k8s/user/deployment.yaml b/deploy_k8s/user/deployment.yaml index 4278c78e1..498a6301d 100644 --- a/deploy_k8s/user/deployment.yaml +++ b/deploy_k8s/user/deployment.yaml @@ -15,12 +15,15 @@ spec: spec: containers: - name: user - image: openim/user:v2.2.0 + image: openim/user:v2.3.0release # imagePullPolicy: Always volumeMounts: - name: config mountPath: /Open-IM-Server/config readOnly: true + env: + - name: CONFIG_NAME + value: "/Open-IM-Server" volumes: - name: config configMap: