apiVersion: batch/v2alpha1 | |
kind: CronJob | |
metadata: | |
creationTimestamp: null | |
name: hello | |
spec: | |
jobTemplate: | |
metadata: | |
annotations: | |
sidecar.istio.io/inject: "false" | |
creationTimestamp: null | |
labels: | |
app: hello | |
spec: | |
template: | |
metadata: | |
creationTimestamp: null | |
spec: | |
containers: | |
- args: | |
- /bin/sh | |
- -c | |
- date; echo Hello from the Kubernetes cluster | |
image: busybox | |
name: hello | |
resources: {} | |
restartPolicy: OnFailure | |
schedule: '*/1 * * * *' | |
status: {} | |
--- |