deploy neuron marketing site to neurontechnologies.ai
Add marketing/ manifests (Deployment, Service, ExternalSecret) for the Next.js marketing site in neuron-prod namespace, an Argo CD app pointing to the new path, and update the prod ingress to serve / from neuron-marketing instead of neuron-rest.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
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:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3000
|
||||
env:
|
||||
- name: NODE_ENV
|
||||
value: production
|
||||
- name: NEURON_LICENSE_API_URL
|
||||
value: http://neuron-mcp.neuron-prod.svc.cluster.local:8080
|
||||
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
|
||||
Reference in New Issue
Block a user