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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    name: canary-demo
     5    namespace: default
     6  spec:
     7    replicas: 5
     8    revisionHistoryLimit: 3
     9    selector:
    10      matchLabels:
    11        app: canary-demo
    12    strategy:
    13      canary:
    14        analysis:
    15          name: analysis
    16          templateName: analysis-template
    17        canaryService: canary-demo-preview
    18        steps:
    19        - setWeight: 40
    20        - pause: {}
    21        - setWeight: 60
    22        - pause: {}
    23        - setWeight: 80
    24        - pause:
    25            duration: 10
    26    template:
    27      metadata:
    28        creationTimestamp: null
    29        labels:
    30          app: canary-demo
    31      spec:
    32        containers:
    33        - image: argoproj/rollouts-demo:yellow
    34          imagePullPolicy: Always
    35          name: canary-demo
    36          ports:
    37          - containerPort: 8080
    38            name: http
    39            protocol: TCP
    40          resources:
    41            requests:
    42              cpu: 5m
    43              memory: 32Mi
    44  status:
    45    HPAReplicas: 5
    46    abort: true
    47    availableReplicas: 5
    48    blueGreen: {}
    49    canary:
    50      stableRS: 645d5dbc4c
    51    conditions:
    52    - lastTransitionTime: "2019-11-03T01:32:46Z"
    53      lastUpdateTime: "2019-11-03T01:32:46Z"
    54      message: Rollout has minimum availability
    55      reason: AvailableReason
    56      status: "True"
    57      type: Available
    58    - lastTransitionTime: "2019-11-05T18:20:12Z"
    59      lastUpdateTime: "2019-11-05T18:20:12Z"
    60      message: Rollout is aborted
    61      reason: RolloutAborted
    62      status: "False"
    63      type: Progressing
    64    currentPodHash: 6758949f55
    65    currentStepHash: 59f8666948
    66    currentStepIndex: 0
    67    observedGeneration: 58b949649c
    68    readyReplicas: 5
    69    replicas: 5
    70    selector: app=canary-demo