nxtgauge-gitops/apps/nxtgauge-backend-rust/base/ugc-content-creators-deployment.yaml
Tracewebstudio Dev 5312f60bf8 fix: remove namespace from all deployment files
Namespace is now managed by Argo's spec.destination.namespace (nxtgauge)
This stops the permanent OutOfSync noise from duplicate namespace definitions.
2026-04-13 18:24:19 +02:00

51 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-rust-ugc-content-creators
labels:
app: nxtgauge-rust-ugc-content-creators
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-rust-ugc-content-creators
template:
metadata:
labels:
app: nxtgauge-rust-ugc-content-creators
spec:
containers:
- name: ugc-content-creators
image: registry.nxtgauge.com:5000/nxtgauge-rust-ugc-content-creators
imagePullPolicy: Always
ports:
- containerPort: 9117
name: http
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
readinessProbe:
httpGet:
path: /health
port: 9117
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: 9117
initialDelaySeconds: 20
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 5
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi