Files
infrastructure/servers/legion/k8s/neuron-technologies/marketing/deployment.yaml
T
2026-04-25 07:46:30 +00:00

56 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: neuron-marketing
namespace: neuron-prod
labels:
app: neuron-marketing
env: prod
spec:
replicas: 2
selector:
matchLabels:
app: neuron-marketing
template:
metadata:
labels:
app: neuron-marketing
env: prod
spec:
containers:
- name: neuron-marketing
image: registry.neuralplatform.ai/neuron-technologies/marketing:1e94e8ae
imagePullPolicy: Always
ports:
- name: http
containerPort: 3000
env:
- name: NODE_ENV
value: production
- name: NEURON_LICENSE_API_URL
value: http://neuron-license.neuron-prod.svc.cluster.local:8082
envFrom:
- secretRef:
name: neuron-marketing-secrets
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 15
periodSeconds: 30
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
failureThreshold: 3