github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/apps.kruise.io/BroadcastJob/testdata/failed.yaml (about)

     1  apiVersion: apps.kruise.io/v1alpha1
     2  kind: BroadcastJob
     3  metadata:
     4    name: failed-job
     5  spec:
     6    template:
     7      spec:
     8        containers:
     9          - name: guestbook
    10            image: openkruise/guestbook:v3
    11            command: ["exit",  "1"] # a dummy command to fail
    12        restartPolicy: Never
    13    completionPolicy:
    14      type: Always
    15      ttlSecondsAfterFinished: 60 # the job will be deleted after 60 seconds
    16  
    17  status:
    18    active: 0
    19    completionTime: '2023-09-17T14:31:38Z'
    20    conditions:
    21      - lastProbeTime: '2023-09-17T14:31:38Z'
    22        lastTransitionTime: '2023-09-17T14:31:38Z'
    23        message: failure policy is FailurePolicyTypeFailFast and failed pod is found
    24        reason: Failed
    25        status: 'True'
    26        type: Failed
    27    desired: 1
    28    failed: 1
    29    phase: failed
    30    startTime: '2023-09-17T14:31:32Z'
    31    succeeded: 0