mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
k8s_deploy
This commit is contained in:
committed by
Xinwei Xiong(cubxxw-openim)
parent
81374ef98f
commit
ebd3a2e84f
@@ -20,8 +20,8 @@ spec:
|
||||
- containerPort: 10002
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /Open-IM-Server/config/config.yaml
|
||||
subPath: config.yaml
|
||||
mountPath: /Open-IM-Server/config
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
@@ -36,10 +36,8 @@ metadata:
|
||||
spec:
|
||||
externalTrafficPolicy: Cluster
|
||||
ports:
|
||||
- name: apiPort
|
||||
port: 10002
|
||||
protocol: TCP
|
||||
targetPort: 10002
|
||||
- protocol: TCP
|
||||
port: 10002
|
||||
targetPort: 10002
|
||||
selector:
|
||||
app: api
|
||||
type: NodePort
|
||||
|
||||
Reference in New Issue
Block a user