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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    annotations:
     5      rollout.argoproj.io/revision: "1"
     6    clusterName: ""
     7    creationTimestamp: 2019-01-22T16:52:54Z
     8    generation: 1
     9    labels:
    10      app.kubernetes.io/instance: guestbook-default
    11      ksonnet.io/component: guestbook-ui
    12    name: ks-guestbook-ui
    13    namespace: default
    14    resourceVersion: "153353"
    15    selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/ks-guestbook-ui
    16    uid: 29802403-1e66-11e9-a6a4-025000000001
    17  spec:
    18    minReadySeconds: 30
    19    replicas: 1
    20    selector:
    21      matchLabels:
    22        app: ks-guestbook-ui
    23    strategy:
    24      blueGreen:
    25        activeService: ks-guestbook-ui-active
    26        previewService: ks-guestbook-ui-preview
    27      type: BlueGreenUpdate
    28    template:
    29      metadata:
    30        creationTimestamp: null
    31        labels:
    32          app: ks-guestbook-ui
    33      spec:
    34        containers:
    35        - image: gcr.io/heptio-images/ks-guestbook-demo:0.2
    36          name: ks-guestbook-ui
    37          ports:
    38          - containerPort: 80
    39          resources: {}
    40  status:
    41    availableReplicas: 1
    42    blueGreen:
    43        activeSelector: dc689d967
    44        previewSelector: ""
    45    conditions:
    46    - lastTransitionTime: 2019-01-24T09:51:02Z
    47      lastUpdateTime: 2019-01-24T09:51:02Z
    48      message: Rollout is serving traffic from the active service.
    49      reason: Available
    50      status: "True"
    51      type: Available
    52    currentPodHash: dc689d967
    53    observedGeneration: 77646c9d4c
    54    readyReplicas: 1
    55    replicas: 1
    56    updatedReplicas: 1