Files
infrastructure/servers/legion/k8s/neuron-technologies/prod/license-deployment.yaml
T
2026-04-25 19:20:40 +00:00

61 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: neuron-license
namespace: neuron-prod
labels:
app: neuron-license
env: prod
spec:
replicas: 1
selector:
matchLabels:
app: neuron-license
template:
metadata:
labels:
app: neuron-license
env: prod
spec:
containers:
- name: neuron-license
image: registry.neuralplatform.ai/neuron-technologies/neuron-license:v0.15.0
imagePullPolicy: Always
ports:
- name: http
containerPort: 8082
env:
- name: LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_SECURITY
value: "DEBUG"
envFrom:
- secretRef:
name: neuron-prod-secrets
volumeMounts:
- name: data
mountPath: /data
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
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-license-data