github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/testdata/canary/healthy_noSteps.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: '2'
     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: '956205'
    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    template:
    30      metadata:
    31        creationTimestamp: null
    32        labels:
    33          app: guestbook-canary
    34      spec:
    35        containers:
    36          - image: 'gcr.io/heptio-images/ks-guestbook-demo:0.2'
    37            name: guestbook-canary
    38            ports:
    39              - containerPort: 80
    40            resources: {}
    41  status:
    42    HPAReplicas: 5
    43    availableReplicas: 5
    44    blueGreen: {}
    45    canary:
    46      stableRS: 567dd56d89
    47    conditions:
    48      - lastTransitionTime: '2019-05-01T22:00:16Z'
    49        lastUpdateTime: '2019-05-01T22:00:16Z'
    50        message: Rollout has minimum availability
    51        reason: AvailableReason
    52        status: 'True'
    53        type: Available
    54      - lastTransitionTime: '2019-05-01T21:55:30Z'
    55        lastUpdateTime: '2019-05-01T22:00:16Z'
    56        message: ReplicaSet "guestbook-canary-567dd56d89" has successfully progressed.
    57        reason: NewReplicaSetAvailable
    58        status: 'True'
    59        type: Progressing
    60    currentPodHash: 567dd56d89
    61    currentStepHash: 6c9545789c
    62    observedGeneration: 6886f85bff
    63    readyReplicas: 5
    64    replicas: 5
    65    selector: app=guestbook-canary
    66    updatedReplicas: 5