fix: RWO 卷改用 Recreate 策略

This commit is contained in:
2026-10-23 10:50:35 +08:00
parent 8e25fd474b
commit 6840960ea4
+2 -4
View File
@@ -11,11 +11,9 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: blog app: blog
# 博客用 RWO 卷,滚动更新会出现新旧 pod 抢同一个卷而卡住,所以用 Recreate
strategy: strategy:
type: RollingUpdate type: Recreate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template: template:
metadata: metadata:
labels: labels: