fix: update deployment strategy to Recreate for tts-gateway to prevent GPU deadlock
Some checks failed
validate / lint (push) Failing after 1s
Some checks failed
validate / lint (push) Failing after 1s
This commit is contained in:
parent
d93aa3541c
commit
4257e83522
@ -7,6 +7,12 @@ metadata:
|
|||||||
app: tts-gateway
|
app: tts-gateway
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
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:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: tts-gateway
|
app: tts-gateway
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user