From fbdd7570527b3dfde5c3d5809174f8332aa45ef3 Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sun, 2 Aug 2026 13:41:25 +0000 Subject: [PATCH] Fix pangolin-controller rollout by using Recreate strategy The controller uses leader election with replicas=1. During RollingUpdate, the new pod cannot acquire the leader lease (old pod holds it) and fails health checks, causing indefinite restart loops. Recreate strategy ensures the old pod terminates before the new one starts, allowing clean leader election transitions. Fixes: DEV-442 Co-Authored-By: Paperclip --- apps/pangolin/pangolin-controller-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pangolin/pangolin-controller-deployment.yaml b/apps/pangolin/pangolin-controller-deployment.yaml index 5817920..7aa8683 100644 --- a/apps/pangolin/pangolin-controller-deployment.yaml +++ b/apps/pangolin/pangolin-controller-deployment.yaml @@ -8,6 +8,8 @@ metadata: component: controller spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: pangolin-controller