fix(k8s): use Recreate strategy for neuron-mcp deployments
Single-node k3s cluster cannot schedule a second pod during rolling update (512Mi request × 2 exceeds available memory). Recreate terminates the old pod before starting the new one, trading brief downtime for schedulability.
This commit is contained in:
@@ -8,6 +8,8 @@ metadata:
|
|||||||
env: prod
|
env: prod
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: neuron-mcp
|
app: neuron-mcp
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ metadata:
|
|||||||
env: stage
|
env: stage
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: neuron-mcp
|
app: neuron-mcp
|
||||||
|
|||||||
Reference in New Issue
Block a user