apiVersion: argoproj.io/v1alpha1
kind: Experiment
metadata:
  name: example-experiment
  namespace: default
spec:
  analyses:
    - name: test
      templateName: analysis-template
  duration: 60
  templates:
    - name: baseline
      selector:
        matchLabels:
          app: rollouts-demo
          color: blue
      template:
        metadata:
          labels:
            app: rollouts-demo
            color: blue
        spec:
          containers:
            - image: 'argoproj/rollouts-demo:blue'
              name: guestbook
status:
  analysisRuns:
    - analysisRun: example-experiment-test-57vl8
      name: test
      phase: Failed
  availableAt: '2019-10-28T20:58:00Z'
  conditions:
    - lastTransitionTime: '2019-10-28T20:57:58Z'
      lastUpdateTime: '2019-10-28T20:58:01Z'
      message: Experiment "example-experiment" is running.
      reason: NewReplicaSetAvailable
      phase: 'True'
      type: Progressing
  phase: Failed
  templateStatuses:
    - availableReplicas: 0
      lastTransitionTime: '2019-10-28T20:58:01Z'
      name: baseline
      readyReplicas: 0
      replicas: 0
      phase: Successful
      updatedReplicas: 0
    - availableReplicas: 0
      lastTransitionTime: '2019-10-28T20:58:01Z'
      name: canary
      readyReplicas: 0
      replicas: 0
      phase: Successful
      updatedReplicas: 0
