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:
@@ -26,6 +26,8 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: nowchess
|
app.kubernetes.io/part-of: nowchess
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: spark-live-dashboard
|
app: spark-live-dashboard
|
||||||
|
|||||||
Reference in New Issue
Block a user