From 8565d90d231a9554e971ea5956e0119dcc84b79f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 10 Mar 2026 23:47:30 +0000 Subject: [PATCH] set Recreate strategy for plotting-book deployment iSCSI volumes are ReadWriteOnce and cannot multi-attach, so the old pod must terminate before the new one starts. --- stacks/plotting-book/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stacks/plotting-book/main.tf b/stacks/plotting-book/main.tf index 58bba9d2..9286e6e1 100644 --- a/stacks/plotting-book/main.tf +++ b/stacks/plotting-book/main.tf @@ -64,6 +64,9 @@ resource "kubernetes_deployment" "plotting-book" { } spec { replicas = 1 + strategy { + type = "Recreate" + } selector { match_labels = { app = "plotting-book"