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