fix(spark): use Recreate strategy to avoid RWO PVC deadlock

Rolling update deadlocked: new pod couldn't attach the RWO checkpoint
PVC while the old pod still held it, so ContainerCreating stalled for
39+ minutes. Recreate terminates the old pod first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janis Eccarius
2026-06-17 00:04:45 +02:00
parent 23f814ae29
commit 081d7807c3
+2
View File
@@ -26,6 +26,8 @@ metadata:
app.kubernetes.io/part-of: nowchess
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: spark-live-dashboard