mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
k8s_deploy
This commit is contained in:
parent
e444a52b6a
commit
6fd84dba8f
@ -14,18 +14,18 @@ spec:
|
|||||||
app: api # 标签
|
app: api # 标签
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: api
|
- name: api
|
||||||
image: openim/api:2.0.10
|
image: openim/api:2.0.10
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10002
|
- containerPort: 10002
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
|
||||||
mountPath: /Open-IM-Server/config/config.yaml
|
|
||||||
subPath: config.yaml
|
|
||||||
volumes:
|
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
mountPath: /Open-IM-Server/config/config.yaml
|
||||||
name: myconfigmap
|
subPath: config.yaml
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
configMap:
|
||||||
|
name: myconfigmap
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user