apiVersion: argoproj.io/v1alpha1 kind: Rollout metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: > {"apiVersion":"argoproj.io/v1alpha1","kind":"Rollout","metadata":{"annotations":{},"labels":{"argocd.argoproj.io/instance":"my-cluster-my-first-app"},"name":"my-first-app","namespace":"my-first-app"},"spec":{"strategy":{"canary":{"analysis":{"args":[{"name":"stable-hash","valueFrom":{"podTemplateHashValue":"Stable"}},{"name":"canary-hash","valueFrom":{"podTemplateHashValue":"Latest"}},{"name":"minutes","value":"1"},{"name":"app_name","value":"my-first-app"},{"name":"canary-version","value":"db467ec02fb3e166e08bdced4c7b64217423d22b"},{"name":"env","value":"production"},{"name":"region","value":"us-east-1"}],"startingStep":2,"templates":[{"templateName":"main-error-rate"}]},"canaryMetadata":{"annotations":{"role":"canary"},"labels":{"role":"canary"}},"canaryService":"my-first-app-canary","maxSurge":"25%","maxUnavailable":"25%","stableMetadata":{"annotations":{"role":"stable"},"labels":{"role":"stable"}},"stableService":"my-first-app-stable","steps":[{"pause":{"duration":"20s"}},{"setWeight":5},{"pause":{"duration":"10m"}},{"setWeight":25},{"pause":{"duration":"5m"}},{"setWeight":60},{"pause":{"duration":"5m"}},{"setWeight":100},{"pause":{"duration":"10m"}}]}},"workloadRef":{"apiVersion":"apps/v1","kind":"Deployment","name":"my-first-app"}}} rollout.argoproj.io/revision: '127' rollout.argoproj.io/workload-generation: '35940' creationTimestamp: '2022-11-06T06:36:12Z' generation: 21376 labels: argocd.argoproj.io/instance: my-cluster-my-first-app managedFields: - apiVersion: argoproj.io/v1alpha1 fieldsType: FieldsV1 fieldsV1: 'f:spec': 'f:replicas': {} manager: kubectl-edit operation: Update time: '2022-11-29T14:52:36Z' - apiVersion: argoproj.io/v1alpha1 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:annotations': .: {} 'f:kubectl.kubernetes.io/last-applied-configuration': {} 'f:labels': .: {} 'f:argocd.argoproj.io/instance': {} 'f:spec': .: {} 'f:strategy': .: {} 'f:canary': .: {} 'f:analysis': .: {} 'f:args': {} 'f:startingStep': {} 'f:templates': {} 'f:canaryMetadata': .: {} 'f:annotations': .: {} 'f:role': {} 'f:labels': .: {} 'f:role': {} 'f:canaryService': {} 'f:maxSurge': {} 'f:maxUnavailable': {} 'f:stableMetadata': .: {} 'f:annotations': .: {} 'f:role': {} 'f:labels': .: {} 'f:role': {} 'f:stableService': {} 'f:steps': {} 'f:workloadRef': .: {} 'f:apiVersion': {} 'f:kind': {} 'f:name': {} manager: argocd-application-controller operation: Update time: '2023-01-11T15:48:52Z' - apiVersion: argoproj.io/v1alpha1 fieldsType: FieldsV1 fieldsV1: 'f:status': .: {} 'f:blueGreen': {} 'f:canary': {} 'f:collisionCount': {} 'f:selector': {} manager: Go-http-client operation: Update time: '2023-01-17T12:32:04Z' - apiVersion: argoproj.io/v1alpha1 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:annotations': 'f:rollout.argoproj.io/revision': {} 'f:rollout.argoproj.io/workload-generation': {} 'f:status': 'f:HPAReplicas': {} 'f:availableReplicas': {} 'f:conditions': {} 'f:currentPodHash': {} 'f:currentStepHash': {} 'f:currentStepIndex': {} 'f:observedGeneration': {} 'f:phase': {} 'f:readyReplicas': {} 'f:replicas': {} 'f:stableRS': {} 'f:updatedReplicas': {} 'f:workloadObservedGeneration': {} manager: rollouts-controller operation: Update time: '2023-01-18T20:43:22Z' name: my-first-app namespace: my-first-app resourceVersion: '3579251063' uid: 1e10cd3d-ac4e-4a0b-9228-09d6fcaae6b7 spec: replicas: 169 strategy: canary: analysis: args: - name: stable-hash valueFrom: podTemplateHashValue: Stable - name: canary-hash valueFrom: podTemplateHashValue: Latest - name: minutes value: '1' - name: app_name value: my-first-app - name: canary-version value: db467ec02fb3e166e08bdced4c7b64217423d22b - name: env value: production - name: region value: us-east-1 startingStep: 2 templates: - templateName: main-error-rate canaryMetadata: annotations: role: canary labels: role: canary canaryService: my-first-app-canary maxSurge: 25% maxUnavailable: 25% stableMetadata: annotations: role: stable labels: role: stable stableService: my-first-app-stable steps: - pause: duration: 20s - setWeight: 5 - pause: duration: 10m - setWeight: 25 - pause: duration: 5m - setWeight: 60 - pause: duration: 5m - setWeight: 100 - pause: duration: 10m workloadRef: apiVersion: apps/v1 kind: Deployment name: my-first-app status: HPAReplicas: 169 availableReplicas: 169 blueGreen: {} canary: {} collisionCount: 3 conditions: - lastTransitionTime: '2023-01-18T10:07:18Z' lastUpdateTime: '2023-01-18T10:07:18Z' message: RolloutCompleted reason: RolloutCompleted status: 'True' type: Completed - lastTransitionTime: '2023-01-18T10:07:18Z' lastUpdateTime: '2023-01-18T10:07:18Z' message: Rollout is paused reason: RolloutPaused status: 'False' type: Paused - lastTransitionTime: '2023-01-18T20:43:22Z' lastUpdateTime: '2023-01-18T20:43:22Z' message: Rollout is healthy reason: RolloutHealthy status: 'True' type: Healthy - lastTransitionTime: '2023-01-18T10:07:18Z' lastUpdateTime: '2023-01-18T20:43:22Z' message: >- ReplicaSet "my-first-app-78c998556c" has successfully progressed. reason: NewReplicaSetAvailable status: 'True' type: Progressing - lastTransitionTime: '2023-01-18T20:43:22Z' lastUpdateTime: '2023-01-18T20:43:22Z' message: Rollout has minimum availability reason: AvailableReason status: 'True' type: Available currentPodHash: 78c998556c currentStepHash: 5f98b485c currentStepIndex: 9 observedGeneration: '21376' phase: Healthy readyReplicas: 169 replicas: 169 selector: 'app=my-first-app,env=production' stableRS: 78c998556c updatedReplicas: 169 workloadObservedGeneration: '35940'