nxtgauge-gitops/apps/nxtgauge-backend-rust/base/jobs-deployment.yaml
Tracewebstudio Dev dc5aacb03c fix: update jobs/leads to use ghcr.io and add Argo image-updater config
- Switch jobs/leads deployments from registry.nxtgauge.com:5000 to ghcr.io/traceworks2023
- Add jobs and leads to argocd-image-updater image list with digest strategy
- All services now tracked by Argo image-updater for automatic updates
2026-04-13 18:22:40 +02:00

55 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-rust-jobs
namespace: nxtgauge
labels:
app: nxtgauge-rust-jobs
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-rust-jobs
template:
metadata:
labels:
app: nxtgauge-rust-jobs
spec:
containers:
- name: jobs
image: ghcr.io/traceworks2023/nxtgauge-rust-jobs:high-performance-latest
imagePullPolicy: Always
ports:
- containerPort: 9103
name: http
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
env:
- name: PORT
value: "9103"
readinessProbe:
httpGet:
path: /health
port: 9103
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: 9103
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 5
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi