- frontend: use registry.nxtgauge.com/node:20-alpine - admin: use registry.nxtgauge.com/node:20-alpine - ai: use registry.nxtgauge.com/rust:1.87-alpine and alpine:3.20 - All images now use internal registry to avoid Docker Hub rate limits - Update kustomization.yaml tags and admin base deployment image - Remove ghcr.io references from admin gitops Images needed in registry.nxtgauge.com: - node:20-alpine - rust:1.87-alpine - alpine:3.20
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nxtgauge-admin-solid
|
|
namespace: nxtgauge
|
|
labels:
|
|
app: nxtgauge-admin-solid
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nxtgauge-admin-solid
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nxtgauge-admin-solid
|
|
spec:
|
|
containers:
|
|
- name: admin-solid
|
|
image: registry.nxtgauge.com/nxtgauge-admin-solid
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
envFrom:
|
|
- configMapRef:
|
|
name: nxtgauge-admin-solid-config
|
|
- secretRef:
|
|
name: nxtgauge-admin-solid-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
|