github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/apps/Deployment/actions/testdata/deployment-resume.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    annotations:
     5      deployment.kubernetes.io/revision: "1"
     6    creationTimestamp: "2021-09-21T22:35:20Z"
     7    generation: 3
     8    name: nginx-deploy
     9    namespace: default  
    10  spec:
    11    progressDeadlineSeconds: 600
    12    replicas: 3
    13    revisionHistoryLimit: 10
    14    selector:
    15      matchLabels:
    16        app: nginx
    17    strategy:
    18      rollingUpdate:
    19        maxSurge: 25%
    20        maxUnavailable: 25%
    21      type: RollingUpdate
    22    template:
    23      metadata:
    24        creationTimestamp: null
    25        labels:
    26          app: nginx
    27      spec:
    28        containers:
    29        - image: nginx:latest
    30          imagePullPolicy: Always
    31          name: nginx
    32          resources: {}
    33          terminationMessagePath: /dev/termination-log
    34          terminationMessagePolicy: File
    35        dnsPolicy: ClusterFirst
    36        restartPolicy: Always
    37        schedulerName: default-scheduler
    38        securityContext: {}
    39        terminationGracePeriodSeconds: 30
    40  status:
    41    availableReplicas: 3
    42    conditions:
    43    - lastTransitionTime: "2021-09-21T22:35:31Z"
    44      lastUpdateTime: "2021-09-21T22:35:31Z"
    45      message: Deployment has minimum availability.
    46      reason: MinimumReplicasAvailable
    47      status: "True"
    48      type: Available
    49    - lastTransitionTime: "2021-09-21T22:38:10Z"
    50      lastUpdateTime: "2021-09-21T22:38:10Z"
    51      message: ReplicaSet "nginx-deploy-55649fd747" has successfully progressed.
    52      reason: NewReplicaSetAvailable
    53      status: "True"
    54      type: Progressing
    55    observedGeneration: 3
    56    readyReplicas: 3
    57    replicas: 3
    58    updatedReplicas: 3