# CronJob
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: autotraining
spec:
  schedule: "*/5 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: autotraining
            image: eu.gcr.io/majestic-hybrid-301217/model-trainer:latest
          restartPolicy: Never