Files
dyndns_python/Dyndns_python_Cron_jobs.yaml
T
pi-ux-ce 23da31d247
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
try to block the never ending creation of pod while failing
2025-02-09 12:03:37 +00:00

25 lines
516 B
YAML

apiVersion: v1
kind: Namespace
metadata:
name: dyndns-python
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: dyndns-pythonrenew
namespace: dyndns-python
spec:
schedule: "0 * * * *"
jobTemplate:
spec:
ttlSecondsAfterFinished: 100
backoffLimit: 4
template:
spec:
containers:
- name: dyndns-python
image: gitea.tryton.geeraert.eu/pi-ux-ce/dyndns_python:latest
imagePullPolicy: IfNotPresent
restartPolicy: OnFailure