changes.mady.by.user Sansae
Saved on Mar 07, 2024
...
https://dev-k8sref-io.web.app/docs/workloads/cronjob-v1beta1/
kind: CronJob
apiVersion: batch/v1 kind: CronJob metadata: name: hello-cronjob spec: schedule: "*/1 * * * *" # 매분마다 실행 concurrencyPolicy: Allow # 동시 실행 가능 jobTemplate: spec: template: spec: containers: - name: hello image: busybox:1.28 imagePullPolicy: IfNotPresent command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure