github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/actions/testdata/rollout_not_restarted.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: 1
     9    selector:
    10      matchLabels:
    11        app: canary-demo
    12    strategy:
    13      canary:
    14        analysis:
    15          args:
    16          - name: ingress
    17            value: canary-demo
    18          templateName: success-rate
    19        canaryService: canary-demo-preview
    20        maxSurge: 1
    21        maxUnavailable: 1
    22        steps:
    23        - setWeight: 40
    24        - pause: {}
    25        - setWeight: 60
    26        - pause:
    27            duration: 10
    28        - setWeight: 80
    29        - pause:
    30            duration: 10
    31    template:
    32      metadata:
    33        labels:
    34          app: canary-demo
    35      spec:
    36        containers:
    37        - image: argoproj/rollouts-demo:red
    38          imagePullPolicy: Always
    39          name: canary-demo
    40          ports:
    41          - containerPort: 8080
    42            name: http
    43            protocol: TCP
    44          resources:
    45            requests:
    46              cpu: 5m
    47              memory: 32Mi