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
1a5f3c25c1
commit
0f38dc5c6b
@ -14,18 +14,18 @@ spec:
|
||||
app: api # 标签
|
||||
spec:
|
||||
containers:
|
||||
- name: api
|
||||
image: openim/api:2.0.10
|
||||
ports:
|
||||
- containerPort: 10002
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /Open-IM-Server/config/config.yaml
|
||||
subPath: config.yaml
|
||||
volumes:
|
||||
- name: api
|
||||
image: openim/api:2.0.10
|
||||
ports:
|
||||
- containerPort: 10002
|
||||
volumeMounts:
|
||||
- name: config
|
||||
configMap:
|
||||
name: myconfigmap
|
||||
mountPath: /Open-IM-Server/config/config.yaml
|
||||
subPath: config.yaml
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: myconfigmap
|
||||
strategy: #更新策略
|
||||
type: RollingUpdate # 滚动更新
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user