Files
infrastructure/servers/legion/k8s/neuron/lb.yaml
T

21 lines
483 B
YAML

apiVersion: v1
kind: Service
metadata:
name: neuron-lb
namespace: neuron
annotations:
# Switch active slot by changing the selector value below, then git push.
# Argo CD syncs in ~30s, k8s updates endpoints instantly — zero downtime.
# Valid values: neuron | neuron-beta | neuron-alpha
spec:
selector:
app: neuron
ports:
- name: mcp
port: 8001
targetPort: 8001
- name: webhook
port: 3847
targetPort: 3847
type: ClusterIP