ci(neuron-prod): blue-green flip to green@v0.14.2 (registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.14.2)
This commit is contained in:
@@ -9,7 +9,7 @@ metadata:
|
|||||||
env: prod
|
env: prod
|
||||||
spec:
|
spec:
|
||||||
# Scaled to 0 when inactive. Deploy process scales to 1, verifies health, then switches service.
|
# Scaled to 0 when inactive. Deploy process scales to 1, verifies health, then switches service.
|
||||||
replicas: 0
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: neuron-mcp
|
- name: neuron-mcp
|
||||||
# IMAGE UPDATED HERE before scaling to 1
|
# IMAGE UPDATED HERE before scaling to 1
|
||||||
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.8.3
|
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.14.2
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ metadata:
|
|||||||
slot: blue
|
slot: blue
|
||||||
env: prod
|
env: prod
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 0
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
# Blue/green: change slot to "green" then back to "blue" to switch traffic.
|
# Blue/green: change slot to "green" then back to "blue" to switch traffic.
|
||||||
# Process: deploy green → verify health → patch this selector → scale blue to 0.
|
# Process: deploy green → verify health → patch this selector → scale blue to 0.
|
||||||
neuron.ai/active-slot: "blue"
|
neuron.ai/active-slot: "green"
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: neuron-mcp
|
app: neuron-mcp
|
||||||
slot: blue
|
slot: green
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user