github.com/windmilleng/tilt@v0.13.6/integration/shortlived_pods/shortlived_pods.yaml (about) 1 apiVersion: batch/v1 2 kind: Job 3 metadata: 4 name: shortlived-pod-success 5 namespace: tilt-integration 6 labels: 7 app: shortlived-pod-success 8 spec: 9 template: 10 metadata: 11 labels: 12 app: shortlived-pod-success 13 spec: 14 containers: 15 - name: echohi 16 image: alpine 17 command: ["sh", "-c", "echo this is a successful job"] 18 restartPolicy: Never 19 backoffLimit: 0 20 --- 21 apiVersion: batch/v1 22 kind: Job 23 metadata: 24 name: shortlived-pod-fail 25 namespace: tilt-integration 26 labels: 27 app: shortlived-pod-fail 28 spec: 29 template: 30 metadata: 31 labels: 32 app: shortlived-pod-fail 33 spec: 34 containers: 35 - name: echohi 36 image: alpine 37 command: ["sh", "-c", "echo this job will fail && false"] 38 restartPolicy: Never 39 backoffLimit: 0 40