Files
dancefetcher/k8s/deploy.yaml
T

24 lines
592 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
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