apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: hello
  namespace: emojivoto
spec:
  jobTemplate:
    spec:
      template:
        metadata:
          annotations:
            linkerd.io/inject: enabled
          labels:
            foo: bar
        spec:
          containers:
          - args:
            - /bin/sh
            - -c
            - date; echo Hello from the Kubernetes cluster
            image: busybox
            name: hello
          restartPolicy: OnFailure
  schedule: '*/10 * * * *'
---
