feat(neuron): add alpha slot + lb Service; standardize all slots to port 8001
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: neuron-alpha-data
|
||||
namespace: neuron
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
Reference in New Issue
Block a user