mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-09 06:02:54 +08:00
change chart script:msggateway add one service
This commit is contained in:
parent
a4268d01b2
commit
58d83ba7b0
@ -37,6 +37,9 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: rpc
|
||||||
|
containerPort: 88
|
||||||
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
|||||||
@ -11,5 +11,9 @@ spec:
|
|||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
- port: 88
|
||||||
|
targetPort: rpc
|
||||||
|
protocol: TCP
|
||||||
|
name: rpc
|
||||||
selector:
|
selector:
|
||||||
{{- include "openim-msggateway.selectorLabels" . | nindent 4 }}
|
{{- include "openim-msggateway.selectorLabels" . | nindent 4 }}
|
||||||
|
|||||||
@ -56,6 +56,9 @@ openim-rpc-user:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config:
|
config:
|
||||||
envs:
|
envs:
|
||||||
discovery: k8s
|
discovery: k8s
|
||||||
@ -193,28 +196,28 @@ config:
|
|||||||
# For launching multiple programs, just fill in multiple ports separated by commas
|
# For launching multiple programs, just fill in multiple ports separated by commas
|
||||||
# For example, [10110, 10111]
|
# For example, [10110, 10111]
|
||||||
rpcPort:
|
rpcPort:
|
||||||
openImUserPort: [ 10110 ]
|
openImUserPort: [ 80 ]
|
||||||
openImFriendPort: [ 10120 ]
|
openImFriendPort: [ 80 ]
|
||||||
openImMessagePort: [ 10130 ]
|
openImMessagePort: [ 80 ]
|
||||||
openImMessageGatewayPort: [ 10140 ]
|
openImMessageGatewayPort: [ 88 ]
|
||||||
openImGroupPort: [ 10150 ]
|
openImGroupPort: [ 80 ]
|
||||||
openImAuthPort: [ 10160 ]
|
openImAuthPort: [ 80 ]
|
||||||
openImPushPort: [ 10170 ]
|
openImPushPort: [ 80 ]
|
||||||
openImConversationPort: [ 10180 ]
|
openImConversationPort: [ 80 ]
|
||||||
openImThirdPort: [ 10190 ]
|
openImThirdPort: [ 80 ]
|
||||||
|
|
||||||
###################### RPC Register Name Configuration ######################
|
###################### RPC Register Name Configuration ######################
|
||||||
# RPC service names for registration, it's not recommended to modify these
|
# RPC service names for registration, it's not recommended to modify these
|
||||||
rpcRegisterName:
|
rpcRegisterName:
|
||||||
openImUserName: Rpc-User
|
openImUserName: openimserver-openim-rpc-user
|
||||||
openImFriendName: Rpc-Friend
|
openImFriendName: openimserver-openim-rpc-friend
|
||||||
openImMsgName: Rpc-Msg
|
openImMsgName: openimserver-openim-rpc-msg
|
||||||
openImPushName: Rpc-Push
|
openImPushName: openimserver-openim-push
|
||||||
openImMessageGatewayName: Rpc-MessageGateway
|
openImMessageGatewayName: openimserver-openim-msggateway:88
|
||||||
openImGroupName: Rpc-Group
|
openImGroupName: openimserver-openim-rpc-group
|
||||||
openImAuthName: Rpc-Auth
|
openImAuthName: openimserver-openim-rpc-auth
|
||||||
openImConversationName: Rpc-Conversation
|
openImConversationName: openimserver-openim-rpc-conversation
|
||||||
openImThirdName: Rpc-Third
|
openImThirdName: openimserver-openim-rpc-third
|
||||||
|
|
||||||
###################### Log Configuration ######################
|
###################### Log Configuration ######################
|
||||||
# Log configuration
|
# Log configuration
|
||||||
@ -243,8 +246,8 @@ config:
|
|||||||
# Maximum length of websocket request package
|
# Maximum length of websocket request package
|
||||||
# Websocket connection handshake timeout
|
# Websocket connection handshake timeout
|
||||||
longConnSvr:
|
longConnSvr:
|
||||||
openImWsPort: [ 10001 ]
|
openImWsPort: [ 80 ]
|
||||||
openImMessageGatewayPort: [ 10140 ]
|
openImMessageGatewayPort: [ 88 ]
|
||||||
websocketMaxConnNum: 100000
|
websocketMaxConnNum: 100000
|
||||||
websocketMaxMsgLen: 4096
|
websocketMaxMsgLen: 4096
|
||||||
websocketTimeout: 10
|
websocketTimeout: 10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user