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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    clusterName: ""
     5    creationTimestamp: 2019-03-22T21:04:31Z
     6    generation: 1
     7    labels:
     8      app.kubernetes.io/instance: guestbook-bluegreen
     9    name: guestbook-bluegreen
    10    namespace: default
    11    resourceVersion: "888906"
    12    selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/guestbook-bluegreen
    13    uid: 16a1edf0-4ce6-11e9-994f-025000000001
    14  spec:
    15    minReadySeconds: 30
    16    replicas: 3
    17    revisionHistoryLimit: 2
    18    selector:
    19      matchLabels:
    20        app: guestbook-bluegreen
    21    strategy:
    22      blueGreen:
    23        activeService: guestbook-bluegreen-active
    24        previewService: guestbook-bluegreen-preview
    25    template:
    26      metadata:
    27        labels:
    28          app: guestbook-bluegreen
    29      spec:
    30        containers:
    31        - image: gcr.io/heptio-images/ks-guestbook-demo:0.2
    32          name: guestbook-bluegreen
    33          ports:
    34          - containerPort: 80
    35  status:
    36    availableReplicas: 1
    37    blueGreen:
    38      activeSelector: 6c767bd46c
    39    conditions:
    40    - lastTransitionTime: 2019-04-01T22:31:44Z
    41      lastUpdateTime: 2019-04-01T22:31:44Z
    42      message: Rollout is serving traffic from the active service.
    43      reason: Available
    44      status: "True"
    45      type: Available
    46    currentPodHash: 6c767bd46c
    47    observedGeneration: 869957df4b
    48    pauseStartTime: 2019-03-26T05:47:32Z
    49    readyReplicas: 1
    50    replicas: 1
    51    updatedReplicas: 1