Files
dancefetcher/k8s/deploy.yaml
T
argoyle 81ed971550 feat(k8s): add labels to dancefetcher CronJob deployment
Adds metadata labels for the dancefetcher CronJob to enhance 
identification and organization within Kubernetes. This change 
improves clarity and alignment with best practices for 
Kubernetes resource management.
2025-01-24 16:46:12 +01:00

26 lines
643 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
labels:
app.kubernetes.io/name: dancefetcher
name: dancefetcher
spec:
schedule: '0 0 * * *'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: dancefetcher
image: registry.gitlab.com/unboundsoftware/dancefinder/dancefetcher:${COMMIT}
imagePullPolicy: Always
resources:
limits:
cpu: 600m
memory: 200Mi
requests:
cpu: 20m
memory: 30Mi
restartPolicy: OnFailure