Last active
July 2, 2018 21:17
-
-
Save knil-sama/22606b24934f6dc58cd0c4455a7442f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: batch/v1beta1 | |
| kind: CronJob | |
| metadata: | |
| name: test | |
| spec: | |
| schedule: "*/5 * * * *" | |
| jobTemplate: | |
| spec: | |
| template: | |
| spec: | |
| containers: | |
| - name: hello | |
| image: bash | |
| command: ["echo", "Hello world"] | |
| restartPolicy: OnFailure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment