From 58e4fbbf56235b7cdcf3719137d32ce74b48790d Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Tue, 25 Jun 2024 16:03:19 +1000 Subject: [PATCH] update the updateStrategy to avoid the new deployment to be stuck as the PV is being used --- kubernetes/apps/gitea/app/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubernetes/apps/gitea/app/release.yaml b/kubernetes/apps/gitea/app/release.yaml index c1e1f71..555fc00 100644 --- a/kubernetes/apps/gitea/app/release.yaml +++ b/kubernetes/apps/gitea/app/release.yaml @@ -17,6 +17,8 @@ spec: remediation: retries: 3 values: + updateStrategy: + type: Recreate livenessProbe: enabled: true initialDelaySeconds: 600