k8s_deploy

This commit is contained in:
wangchuxiao
2022-05-19 19:03:27 +08:00
parent b1f270c082
commit cc93dba508
2 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -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 # 滚动更新