Merge pull request 'ci(neuron-prod): mcp blue-green blue@v0.18.14' (#42) from ci/mcp-deploy-v0.18.14 into main
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: 1
|
replicas: 0
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ metadata:
|
|||||||
slot: blue
|
slot: blue
|
||||||
env: prod
|
env: prod
|
||||||
spec:
|
spec:
|
||||||
replicas: 0
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: neuron-mcp
|
- name: neuron-mcp
|
||||||
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:a837369
|
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.18.14
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -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: "green"
|
neuron.ai/active-slot: "blue"
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: neuron-mcp
|
app: neuron-mcp
|
||||||
slot: green
|
slot: blue
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user