Files
dancefetcher/k8s/deploy.yaml
T

25 lines
594 B
YAML
Raw Normal View History

apiVersion: batch/v1
2020-02-07 20:59:25 +01:00
kind: CronJob
metadata:
labels:
app.kubernetes.io/name: dancefetcher
2020-02-07 20:59:25 +01:00
name: dancefetcher
spec:
schedule: '0 0 * * *'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: dancefetcher
image: oci.unbound.se/dancefinder/dancefetcher:${COMMIT}
2021-10-05 08:38:00 +02:00
imagePullPolicy: Always
resources:
limits:
memory: 200Mi
requests:
cpu: 20m
memory: 30Mi
2020-02-07 20:59:25 +01:00
restartPolicy: OnFailure