apiVersion: batch/v1
kind: CronJob
metadata:
  name: miniature-tribble
spec:
  # minute[0-59] hour[0-23] dayOfMonth[1-31] month[1-12] dayOfWeek[0-6]
  schedule: "*/1 * * * *"
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 60
  successfulJobsHistoryLimit: 1
  failedJobsHistoryLimit: 1
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - image: miniature-tribble:v0.0.0
              imagePullPolicy: IfNotPresent
              name: miniature-tribble
              resources:
                limits:
                  memory: "32Mi"
                  cpu: "0.1"
                requests:
                  memory: "32Mi"
                  cpu: "0.1"
          restartPolicy: Never
