mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
k8s_deploy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: api-deployment
|
||||
spec:
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
- name: cfg
|
||||
mountPath: /Open-IM-Server/config/config.yaml
|
||||
subPath: config.yaml
|
||||
updateStrategy: #更新策略
|
||||
strategy: #更新策略
|
||||
rollingUpdate:
|
||||
partition: 1
|
||||
type: RollingUpdate # 滚动更新
|
||||
|
||||
Reference in New Issue
Block a user