github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/testdata/canary/healthy_executedAllSteps.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    conditions:
    53      - lastTransitionTime: '2019-05-01T21:55:30Z'
    54        lastUpdateTime: '2019-05-01T21:55:58Z'
    55        message: ReplicaSet "guestbook-canary-84ccfddd66" has successfully progressed.
    56        reason: NewReplicaSetAvailable
    57        status: 'True'
    58        type: Progressing
    59      - lastTransitionTime: '2019-05-01T21:55:58Z'
    60        lastUpdateTime: '2019-05-01T21:55:58Z'
    61        message: Rollout has minimum availability
    62        reason: AvailableReason
    63        status: 'True'
    64        type: Available
    65    currentPodHash: 84ccfddd66
    66    currentStepHash: 5f8fbdf7bb
    67    currentStepIndex: 4
    68    observedGeneration: c45557fd9
    69    readyReplicas: 5
    70    replicas: 5
    71    selector: app=guestbook-canary
    72    stableRS: 84ccfddd66
    73    updatedReplicas: 5