Created
April 3, 2018 14:46
-
-
Save wjx0912/75ebe3b121faac7f2aac2b73be853ce3 to your computer and use it in GitHub Desktop.
kubernetes test job
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/v1 | |
kind: Job | |
metadata: | |
name: myjob | |
spec: | |
template: | |
metadata: | |
name: myjob | |
spec: | |
containers: | |
- name: hello | |
image: busybox | |
command: ["echo", "hello, k8s job!"] | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment