From 4257e8352278efd0aad19bbc9d1e0ef512cb028c Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Sat, 25 Jul 2026 00:24:47 +0900 Subject: [PATCH] fix: update deployment strategy to Recreate for tts-gateway to prevent GPU deadlock --- manifests/home-services/tts-gateway.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/home-services/tts-gateway.yaml b/manifests/home-services/tts-gateway.yaml index 07a480f..8d013e6 100644 --- a/manifests/home-services/tts-gateway.yaml +++ b/manifests/home-services/tts-gateway.yaml @@ -7,6 +7,12 @@ metadata: app: tts-gateway spec: replicas: 1 + # nik-gpu only has 1 nvidia.com/gpu allocatable - the default RollingUpdate + # strategy tries to schedule the new pod before killing the old one, which + # deadlocks forever waiting for a GPU that's still held by the pod it's + # replacing. Recreate kills the old pod first instead. + strategy: + type: Recreate selector: matchLabels: app: tts-gateway