ci(neuron-prod): blue-green flip to green@v0.18.8 (registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.18.8)

This commit is contained in:
Neuron CI
2026-04-26 16:49:02 +00:00
parent c68f545746
commit bd7d5efa66
3 changed files with 6 additions and 6 deletions
@@ -9,7 +9,7 @@ metadata:
env: prod
spec:
# Scaled to 0 when inactive. Deploy process scales to 1, verifies health, then switches service.
replicas: 0
replicas: 1
strategy:
type: Recreate
selector:
@@ -29,7 +29,7 @@ spec:
containers:
- name: neuron-mcp
# IMAGE UPDATED HERE before scaling to 1
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:514db58
image: registry.neuralplatform.ai/neuron-technologies/neuron-mcp:v0.18.8
imagePullPolicy: Always
ports:
- name: http
@@ -8,7 +8,7 @@ metadata:
slot: blue
env: prod
spec:
replicas: 1
replicas: 0
strategy:
type: Recreate
selector:
@@ -39,7 +39,7 @@ spec:
containerPort: 8080
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # JVM writes temp files; restrict paths via allowedPaths once profiled
readOnlyRootFilesystem: false # JVM writes temp files; restrict paths via allowedPaths once profiled
runAsNonRoot: true
runAsUser: 1000
capabilities:
@@ -24,11 +24,11 @@ metadata:
annotations:
# 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.
neuron.ai/active-slot: "blue"
neuron.ai/active-slot: "green"
spec:
selector:
app: neuron-mcp
slot: blue
slot: green
ports:
- name: http
port: 8080