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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    name: canary-demo
     5    namespace: default
     6  spec:
     7    replicas: 5
     8    revisionHistoryLimit: 3
     9    selector:
    10      matchLabels:
    11        app: canary-demo
    12    strategy:
    13      canary:
    14        analysis:
    15          name: analysis
    16          templateName: analysis-template
    17        canaryService: canary-demo-preview
    18        steps:
    19        - setWeight: 40
    20        - pause: {}
    21        - setWeight: 60
    22        - pause: {}
    23        - setWeight: 80
    24        - pause:
    25            duration: 10
    26    template:
    27      metadata:
    28        labels:
    29          app: canary-demo
    30      spec:
    31        containers:
    32        - image: argoproj/rollouts-demo:yellow
    33          imagePullPolicy: Always
    34          name: canary-demo
    35          ports:
    36          - containerPort: 8080
    37            name: http
    38            protocol: TCP
    39          resources:
    40            requests:
    41              cpu: 5m
    42              memory: 32Mi
    43  status:
    44    HPAReplicas: 5
    45    availableReplicas: 5
    46    blueGreen: {}
    47    canary:
    48      currentBackgroundAnalysisRun: canary-demo-6758949f55-6-analysis
    49      stableRS: 645d5dbc4c
    50    controllerPause: true
    51    currentPodHash: 6758949f55
    52    currentStepHash: 59f8666948
    53    currentStepIndex: 1
    54    observedGeneration: 58b949649c
    55    readyReplicas: 5
    56    replicas: 5
    57    selector: app=canary-demo
    58    updatedReplicas: 2