deploy neuron-license service to prod
Adds license deployment, service, ingress route (/license), and Unkey + admin token secrets via ExternalSecret. Image built and pushed by CI on merge of neuron PR #30.
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
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:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8082
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: neuron-prod-secrets
|
||||
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
|
||||
Reference in New Issue
Block a user