81ed971550
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.
26 lines
643 B
YAML
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
|