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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    annotations:
     5      rollout.argoproj.io/revision: '4'
     6    creationTimestamp: '2020-11-06T09:09:54Z'
     7    generation: 76
     8    labels:
     9      app.kubernetes.io/instance: rollouts-demo
    10    name: rollout-canary
    11    namespace: default
    12    resourceVersion: '4977'
    13    selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/rollout-canary
    14    uid: a5047899-8288-43c2-95d7-a8e0a8b45ed6
    15  spec:
    16    replicas: 2
    17    restartAt: '2020-11-06T10:03:31Z'
    18    revisionHistoryLimit: 2
    19    selector:
    20      matchLabels:
    21        app: rollout-canary
    22    strategy:
    23      canary:
    24        steps:
    25          - setWeight: 1
    26          - pause: {}
    27    template:
    28      metadata:
    29        annotations:
    30          restart: asdfaaa
    31        labels:
    32          app: rollout-canary
    33      spec:
    34        containers:
    35          - image: 'nginx:1.19-alpine'
    36            imagePullPolicy: Always
    37            lifecycle:
    38              postStart:
    39                exec:
    40                  command:
    41                    - sleep
    42                    - '30'
    43              preStop:
    44                exec:
    45                  command:
    46                    - sleep
    47                    - '30'
    48            name: rollouts-demo
    49            ports:
    50              - containerPort: 8080
    51            resources: {}
    52  status:
    53    HPAReplicas: 2
    54    abort: null
    55    abortedAt: '2020-11-06T10:08:32Z'
    56    availableReplicas: 2
    57    blueGreen: {}
    58    canary:
    59      stableRS: 69d59f5445
    60    conditions:
    61      - lastTransitionTime: '2020-11-06T10:06:38Z'
    62        lastUpdateTime: '2020-11-06T10:06:38Z'
    63        message: Rollout has minimum availability
    64        reason: AvailableReason
    65        status: 'True'
    66        type: Available
    67      - lastTransitionTime: '2020-11-06T10:08:32Z'
    68        lastUpdateTime: '2020-11-06T10:08:32Z'
    69        message: Rollout is aborted
    70        reason: RolloutAborted
    71        status: 'False'
    72        type: Progressing
    73    currentPodHash: 7797495b94
    74    currentStepHash: 566d47875b
    75    currentStepIndex: 0
    76    observedGeneration: 74dbb4676d
    77    readyReplicas: 2
    78    replicas: 2
    79    restartedAt: '2020-11-06T10:03:31Z'
    80    selector: app=rollout-canary
    81    stableRS: 69d59f5445