github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Experiment/testdata/failedExperiment.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Experiment
     3  metadata:
     4    name: example-experiment
     5    namespace: default
     6  spec:
     7    analyses:
     8      - name: test
     9        templateName: analysis-template
    10    duration: 60
    11    templates:
    12      - name: baseline
    13        selector:
    14          matchLabels:
    15            app: rollouts-demo
    16            color: blue
    17        template:
    18          metadata:
    19            labels:
    20              app: rollouts-demo
    21              color: blue
    22          spec:
    23            containers:
    24              - image: 'argoproj/rollouts-demo:blue'
    25                name: guestbook
    26  status:
    27    analysisRuns:
    28      - analysisRun: example-experiment-test-57vl8
    29        name: test
    30        phase: Failed
    31    availableAt: '2019-10-28T20:58:00Z'
    32    conditions:
    33      - lastTransitionTime: '2019-10-28T20:57:58Z'
    34        lastUpdateTime: '2019-10-28T20:58:01Z'
    35        message: Experiment "example-experiment" is running.
    36        reason: NewReplicaSetAvailable
    37        phase: 'True'
    38        type: Progressing
    39    phase: Failed
    40    templateStatuses:
    41      - availableReplicas: 0
    42        lastTransitionTime: '2019-10-28T20:58:01Z'
    43        name: baseline
    44        readyReplicas: 0
    45        replicas: 0
    46        phase: Successful
    47        updatedReplicas: 0
    48      - availableReplicas: 0
    49        lastTransitionTime: '2019-10-28T20:58:01Z'
    50        name: canary
    51        readyReplicas: 0
    52        replicas: 0
    53        phase: Successful
    54        updatedReplicas: 0