github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/testdata/canary/progressing_killingOldReplicas.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: Rollout 3 metadata: 4 annotations: 5 kubectl.kubernetes.io/last-applied-configuration: | 6 {"apiVersion":"argoproj.io/v1alpha1","kind":"Rollout","metadata":{"annotations":{},"name":"example-rollout-canary","namespace":"default"},"spec":{"minReadySeconds":30,"replicas":5,"revisionHistoryLimit":3,"selector":{"matchLabels":{"app":"guestbook"}},"strategy":{"canary":{"steps":[{"setWeight":20},{"pause":{"duration":20}},{"setWeight":40},{"pause":{}}]}},"template":{"metadata":{"labels":{"app":"guestbook"}},"spec":{"containers":[{"image":"gcr.io/heptio-images/ks-guestbook-demo:0.1","name":"guestbook","ports":[{"containerPort":80}]}]}}}} 7 rollout.argoproj.io/revision: "3" 8 creationTimestamp: "2019-10-20T15:42:26Z" 9 generation: 101 10 name: example-rollout-canary 11 namespace: default 12 resourceVersion: "1779901" 13 selfLink: /apis/argoproj.io/v1alpha1/namespaces/default/rollouts/example-rollout-canary 14 uid: f8ebf794-8b4e-4a1f-a2d1-a85bc1d206ef 15 spec: 16 minReadySeconds: 30 17 replicas: 5 18 revisionHistoryLimit: 3 19 selector: 20 matchLabels: 21 app: guestbook 22 strategy: 23 canary: {} 24 template: 25 metadata: 26 creationTimestamp: null 27 labels: 28 app: guestbook 29 spec: 30 containers: 31 - image: gcr.io/heptio-images/ks-guestbook-demo:0.1 32 name: guestbook 33 ports: 34 - containerPort: 80 35 resources: {} 36 status: 37 HPAReplicas: 6 38 availableReplicas: 5 39 blueGreen: {} 40 canary: 41 stableRS: 74d6dc8544 42 conditions: 43 - lastTransitionTime: "2019-10-25T16:08:02Z" 44 lastUpdateTime: "2019-10-25T16:08:02Z" 45 message: Rollout has minimum availability 46 reason: AvailableReason 47 status: "True" 48 type: Available 49 - lastTransitionTime: "2019-10-25T16:50:19Z" 50 lastUpdateTime: "2019-11-07T18:19:25Z" 51 message: ReplicaSet "example-rollout-canary-694fb7759c" is progressing. 52 reason: ReplicaSetUpdated 53 status: "True" 54 type: Progressing 55 currentPodHash: 694fb7759c 56 currentStepHash: 5ffbfbbd64 57 observedGeneration: 7fcc96c7b7 58 readyReplicas: 6 59 replicas: 6 60 selector: app=guestbook 61 updatedReplicas: 5