Files
kubernaut/kustomize/app/cronjob.yaml
Ryan Cavicchioni 01e4c38185
All checks were successful
Ruby Lint / lint (push) Successful in 25s
Ruby Test / test (push) Successful in 17s
Release / docker (push) Successful in 20m22s
add a CronJob
2025-06-29 15:01:53 -05:00

20 lines
398 B
YAML

apiVersion: batch/v1
kind: CronJob
metadata:
name: kubernaut
spec:
schedule: "* * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: busybox:1.37
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- echo "=^.^= <(meow)"
restartPolicy: OnFailure