From 10d16bface195e0b3850d192dfe292d08e6c6bf1 Mon Sep 17 00:00:00 2001 From: lichaoran Date: Tue, 13 Dec 2022 15:03:24 +0800 Subject: [PATCH] fix: pod strategy set to recreate as attached volume is ReadWriteOnce Signed-off-by: lichaoran --- kubernetes/kustomize/resalloc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes/kustomize/resalloc.yaml b/kubernetes/kustomize/resalloc.yaml index e0d7a2fa3..42c81da4f 100644 --- a/kubernetes/kustomize/resalloc.yaml +++ b/kubernetes/kustomize/resalloc.yaml @@ -4,6 +4,8 @@ metadata: name: copr-resalloc spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: component: copr-resalloc