Reverting ghcr.io changes - production uses internal registry. Updated: - jobs-deployment.yaml: ghcr.io → registry.nxtgauge.com:5000/nxtgauge-rust-jobs - leads-deployment.yaml: ghcr.io → registry.nxtgauge.com:5000/nxtgauge-rust-leads - overlays/prod/kustomization.yaml: all images back to registry.nxtgauge.com:5000 - Argo application: image-updater back to registry.nxtgauge.com:5000
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nxtgauge-rust-jobs
|
|
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: registry.nxtgauge.com:5000/nxtgauge-rust-jobs
|
|
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
|