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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Experiment
     3  metadata:
     4    name: example-experiment
     5    namespace: argo-rollouts
     6  spec:
     7    duration: 60
     8    templates:
     9      - name: baseline
    10        selector:
    11          matchLabels:
    12            app: rollouts-demo
    13            color: blue
    14        template:
    15          metadata:
    16            labels:
    17              app: rollouts-demo
    18              color: blue
    19          spec:
    20            containers:
    21              - image: 'argoproj/rollouts-demo:blue'
    22                name: guestbook
    23      - name: canary
    24        selector:
    25          matchLabels:
    26            app: rollouts-demo
    27            color: yellow
    28        template:
    29          metadata:
    30            labels:
    31              app: rollouts-demo
    32              color: yellow
    33          spec:
    34            containers:
    35              - image: 'argoproj/rollouts-demo:yellow'
    36                name: guestbook
    37  status:
    38    availableAt: '2019-10-28T20:15:02Z'
    39    conditions:
    40      - lastTransitionTime: '2019-10-28T20:20:54Z'
    41        lastUpdateTime: '2019-10-28T20:20:54Z'
    42        message: Experiment "example-experiment" has successfully ran and completed.
    43        reason: ExperimentCompleted
    44        phase: 'False'
    45        type: Progressing
    46    phase: Successful
    47    templateStatuses:
    48      - availableReplicas: 1
    49        lastTransitionTime: '2019-10-28T20:15:02Z'
    50        name: baseline
    51        readyReplicas: 1
    52        replicas: 1
    53        phase: Successful
    54        updatedReplicas: 1
    55      - availableReplicas: 1
    56        lastTransitionTime: '2019-10-28T20:15:01Z'
    57        name: canary
    58        readyReplicas: 1
    59        replicas: 1
    60        phase: Successful
    61        updatedReplicas: 1