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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    annotations:
     5      kubectl.kubernetes.io/last-applied-configuration: >
     6        {"apiVersion":"argoproj.io/v1alpha1","kind":"Rollout","metadata":{"annotations":{},"labels":{"app.kubernetes.io/instance":"guestbook-canary","ksonnet.io/component":"guestbook-ui"},"name":"guestbook-canary","namespace":"default"},"spec":{"minReadySeconds":10,"replicas":5,"selector":{"matchLabels":{"app":"guestbook-canary"}},"strategy":{"canary":{"maxSurge":1,"maxUnavailable":0,"steps":[{"setWeight":20},{"pause":{"duration":30}},{"setWeight":40},{"pause":{}}]}},"template":{"metadata":{"labels":{"app":"guestbook-canary"}},"spec":{"containers":[{"image":"gcr.io/heptio-images/ks-guestbook-demo:0.1","name":"guestbook-canary","ports":[{"containerPort":80}]}]}}}}
     7      rollout.argoproj.io/revision: '1'
     8    clusterName: ''
     9    creationTimestamp: '2019-05-01T21:55:30Z'
    10    generation: 1
    11    labels:
    12      app.kubernetes.io/instance: guestbook-canary
    13      ksonnet.io/component: guestbook-ui
    14    name: guestbook-canary
    15    namespace: default
    16    resourceVersion: '955764'
    17    selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/guestbook-canary
    18    uid: d6105ccd-6c5b-11e9-b8d7-025000000001
    19  spec:
    20    minReadySeconds: 10
    21    replicas: 5
    22    selector:
    23      matchLabels:
    24        app: guestbook-canary
    25    strategy:
    26      canary:
    27        maxSurge: 1
    28        maxUnavailable: 0
    29        steps:
    30          - setWeight: 20
    31          - pause:
    32              duration: 30
    33          - setWeight: 40
    34          - pause: {}
    35    template:
    36      metadata:
    37        creationTimestamp: null
    38        labels:
    39          app: guestbook-canary
    40      spec:
    41        containers:
    42          - image: 'gcr.io/heptio-images/ks-guestbook-demo:0.1'
    43            name: guestbook-canary
    44            ports:
    45              - containerPort: 80
    46            resources: {}
    47  status:
    48    HPAReplicas: 5
    49    availableReplicas: 5
    50    blueGreen: {}
    51    canary:
    52      stableRS: 84ccfddd66
    53    conditions:
    54      - lastTransitionTime: '2019-05-01T21:55:30Z'
    55        lastUpdateTime: '2019-05-01T21:55:58Z'
    56        message: ReplicaSet "guestbook-canary-84ccfddd66" has successfully progressed.
    57        reason: NewReplicaSetAvailable
    58        status: 'True'
    59        type: Progressing
    60      - lastTransitionTime: '2019-05-01T21:55:58Z'
    61        lastUpdateTime: '2019-05-01T21:55:58Z'
    62        message: Rollout has minimum availability
    63        reason: AvailableReason
    64        status: 'True'
    65        type: Available
    66    currentPodHash: 84ccfddd66
    67    currentStepHash: 5f8fbdf7bb
    68    currentStepIndex: 4
    69    observedGeneration: c45557fd9
    70    readyReplicas: 5
    71    replicas: 5
    72    selector: app=guestbook-canary
    73    updatedReplicas: 5