nxtgauge-gitops/apps/nxtgauge-backend-rust/base/cron-deployment.yaml

33 lines
792 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nxtgauge-rust-cron
namespace: nxtgauge
labels:
app: nxtgauge-rust-cron
spec:
replicas: 1
selector:
matchLabels:
app: nxtgauge-rust-cron
template:
metadata:
labels:
app: nxtgauge-rust-cron
spec:
containers:
- name: cron
image: docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-cron
imagePullPolicy: Always
envFrom:
- configMapRef:
name: nxtgauge-backend-rust-config
- secretRef:
name: nxtgauge-backend-rust-secrets
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi