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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    annotations:
     5      rollout.argoproj.io/revision: '2'
     6    creationTimestamp: '2020-11-06T09:09:54Z'
     7    generation: 12
     8    labels:
     9      app.kubernetes.io/instance: rollouts-demo
    10    name: rollout-bluegreen
    11    namespace: default
    12    resourceVersion: '2232'
    13    selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/rollout-bluegreen
    14    uid: a5047899-8288-43c2-95d7-a8e0a8b45ed6
    15  spec:
    16    replicas: 2
    17    revisionHistoryLimit: 2
    18    selector:
    19      matchLabels:
    20        app: rollout-bluegreen
    21    strategy:
    22      blueGreen:
    23        activeService: rollout-bluegreen-active
    24        previewService: rollout-bluegreen-preview
    25    template:
    26      metadata:
    27        creationTimestamp: null
    28        labels:
    29          app: rollout-bluegreen
    30      spec:
    31        containers:
    32          - image: 'nginx:1.19-alpine'
    33            imagePullPolicy: Always
    34            name: rollouts-demo
    35            ports:
    36              - containerPort: 8080
    37            resources: {}
    38  status:
    39    HPAReplicas: 2
    40    availableReplicas: 2
    41    blueGreen:
    42      activeSelector: '8576595585'
    43      previewSelector: '8576595585'
    44    canary: {}
    45    conditions:
    46      - lastTransitionTime: '2020-11-06T09:10:35Z'
    47        lastUpdateTime: '2020-11-06T09:10:35Z'
    48        message: Rollout has minimum availability
    49        reason: AvailableReason
    50        status: 'True'
    51        type: Available
    52      - lastTransitionTime: '2020-11-06T09:09:54Z'
    53        lastUpdateTime: '2020-11-06T09:13:09Z'
    54        message: ReplicaSet "rollout-bluegreen-8576595585" has successfully progressed.
    55        reason: NewReplicaSetAvailable
    56        status: 'True'
    57        type: Progressing
    58    currentPodHash: '8576595585'
    59    observedGeneration: 7b965d5d74
    60    readyReplicas: 2
    61    replicas: 2
    62    selector: 'app=rollout-bluegreen,rollouts-pod-template-hash=8576595585'
    63    stableRS: '8576595585'
    64    updatedReplicas: 2