34 lines
833 B
YAML
34 lines
833 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nxtgauge-rust-cron
|
|
labels:
|
|
app: nxtgauge-rust-cron
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nxtgauge-rust-cron
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nxtgauge-rust-cron
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
containers:
|
|
- name: cron
|
|
image: registry.nxtgauge.com/nxtgauge-rust-cron:e6d85ffc8367885050b9434494f291724cc523c0
|
|
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
|