pull/232/head
wangchuxiao 3 years ago
parent 652afd6b57
commit d196f455cb

@ -1,29 +1,9 @@
#/bin/sh
service=(
#api service file
api
cms_api
#rpc service file
user
friend
group
auth
admin_cms
message_cms
statistics
office
organization
conversation
cache
msg_gateway
transfer
msg
push
sdk_server
demo
)
#
source ./path_info.cfg
# images version
version=v2.0.10
cd ../script/; ./build_all_service.sh
cd ../deploy_k8s/

@ -1,26 +1,4 @@
service=(
#api service file
api
cms_api
#rpc service file
user
friend
group
auth
admin_cms
message_cms
statistics
office
organization
conversation
cache
msg_gateway
transfer
msg
push
sdk_server
demo
)
source ./path_info.cfg
for i in ${service[*]}
do

@ -15,7 +15,7 @@ service=(
conversation
cache
msg-gateway
transfer
msg-transfer
msg
push
sdk-server

@ -2,20 +2,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: transfer-deployment
name: msg-transfer-deployment
spec:
selector:
matchLabels:
app: transfer # 选择这个指定标签执行
app: msg-transfer # 选择这个指定标签执行
replicas: 2 # 运行pod数量
template:
metadata:
labels:
app: transfer # 标签
app: msg-transfer # 标签
spec:
containers:
- name: transfer
image: openim/transfer:v2.0.10
- name: msg-transfer
image: openim/msg_transfer:v2.0.10
volumeMounts:
- name: config
mountPath: /Open-IM-Server/config

@ -0,0 +1,24 @@
#/bin/sh
service=(
#api service file
api
cms_api
#rpc service file
user
friend
group
auth
admin_cms
message_cms
statistics
office
organization
conversation
cache
msg_gateway
msg_transfer
msg
push
sdk_server
demo
)
Loading…
Cancel
Save