github.com/argoproj/argo-cd@v1.8.7/util/health/testdata/job-failed.yaml (about) 1 apiVersion: batch/v1 2 kind: Job 3 metadata: 4 creationTimestamp: 2018-12-02T08:09:25Z 5 labels: 6 controller-uid: 95052288-f609-11e8-aa53-42010a80021b 7 job-name: fail 8 name: fail 9 namespace: argoci-workflows 10 resourceVersion: "46534173" 11 selfLink: /apis/batch/v1/namespaces/argoci-workflows/jobs/fail 12 uid: 95052288-f609-11e8-aa53-42010a80021b 13 spec: 14 backoffLimit: 0 15 completions: 1 16 parallelism: 1 17 selector: 18 matchLabels: 19 controller-uid: 95052288-f609-11e8-aa53-42010a80021b 20 template: 21 metadata: 22 creationTimestamp: null 23 labels: 24 controller-uid: 95052288-f609-11e8-aa53-42010a80021b 25 job-name: fail 26 spec: 27 containers: 28 - command: 29 - sh 30 - -c 31 - exit 1 32 image: alpine:latest 33 imagePullPolicy: Always 34 name: fail 35 resources: {} 36 terminationMessagePath: /dev/termination-log 37 terminationMessagePolicy: File 38 dnsPolicy: ClusterFirst 39 restartPolicy: Never 40 schedulerName: default-scheduler 41 securityContext: {} 42 terminationGracePeriodSeconds: 30 43 status: 44 conditions: 45 - lastProbeTime: 2018-12-02T08:09:27Z 46 lastTransitionTime: 2018-12-02T08:09:27Z 47 message: Job has reached the specified backoff limit 48 reason: BackoffLimitExceeded 49 status: "True" 50 type: Failed 51 failed: 1 52 startTime: 2018-12-02T08:09:25Z