feat(neuron): add stage and prod k8s manifests + Argo CD apps

Completes the three-env setup (dev was added previously). Each env has
deployments, services, ingress, PVC, ConfigMap, and ExternalSecret pulling
from Vault. Prod has larger resource limits and 10Gi PVC. Vault secret at
secret/neuron-technologies/prod seeded separately.
This commit is contained in:
Will Anderson
2026-04-17 09:43:23 -05:00
parent 912e129e0d
commit 1b8ea63541
18 changed files with 517 additions and 0 deletions
@@ -0,0 +1,59 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: neuron-rest
namespace: neuron-prod
labels:
app: neuron-rest
env: prod
spec:
replicas: 1
selector:
matchLabels:
app: neuron-rest
template:
metadata:
labels:
app: neuron-rest
env: prod
spec:
containers:
- name: neuron-rest
image: registry.neuralplatform.ai/neuron-technologies/neuron-rest:latest
imagePullPolicy: Always
ports:
- name: http
containerPort: 8081
envFrom:
- configMapRef:
name: neuron-prod-config
- secretRef:
name: neuron-prod-secrets
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 1000m
memory: 1Gi
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 3
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: http
initialDelaySeconds: 15
periodSeconds: 10
failureThreshold: 3
volumes:
- name: data
persistentVolumeClaim:
claimName: neuron-prod-data