mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 19:22:46 +08:00
k8s_deploy
This commit is contained in:
parent
81374ef98f
commit
ebd3a2e84f
@ -20,8 +20,8 @@ spec:
|
|||||||
- containerPort: 10002
|
- containerPort: 10002
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config/config.yaml
|
mountPath: /Open-IM-Server/config
|
||||||
subPath: config.yaml
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
@ -36,10 +36,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
externalTrafficPolicy: Cluster
|
externalTrafficPolicy: Cluster
|
||||||
ports:
|
ports:
|
||||||
- name: apiPort
|
- protocol: TCP
|
||||||
port: 10002
|
port: 10002
|
||||||
protocol: TCP
|
|
||||||
targetPort: 10002
|
targetPort: 10002
|
||||||
selector:
|
selector:
|
||||||
app: api
|
app: api
|
||||||
type: NodePort
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user