52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nxtgauge-admin-frontend
|
|
namespace: nxtgauge
|
|
labels:
|
|
app: nxtgauge-admin-frontend
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nxtgauge-admin-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nxtgauge-admin-frontend
|
|
spec:
|
|
containers:
|
|
- name: admin-frontend
|
|
image: ghcr.io/traceworks2023/nxtgauge-nov-2025-frontend
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
envFrom:
|
|
- configMapRef:
|
|
name: nxtgauge-admin-frontend-config
|
|
- secretRef:
|
|
name: nxtgauge-admin-frontend-secrets
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 20
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|