github.com/argoproj/argo-cd@v1.8.7/resource_customizations/extensions/Deployment/actions/testdata/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    annotations:
     5      deployment.kubernetes.io/revision: "1"
     6    creationTimestamp: "2019-09-12T01:33:53Z"
     7    generation: 1
     8    name: nginx-deploy
     9    namespace: default
    10    resourceVersion: "6897444"
    11    selfLink: /apis/apps/v1/namespaces/default/deployments/nginx-deploy
    12    uid: 61689d6d-d4fd-11e9-9e69-42010aa8005f
    13  spec:
    14    progressDeadlineSeconds: 600
    15    replicas: 3
    16    revisionHistoryLimit: 10
    17    selector:
    18      matchLabels:
    19        app: nginx
    20    strategy:
    21      rollingUpdate:
    22        maxSurge: 25%
    23        maxUnavailable: 25%
    24      type: RollingUpdate
    25    template:
    26      metadata:
    27        labels:
    28          app: nginx
    29      spec:
    30        containers:
    31        - image: nginx:latest
    32          imagePullPolicy: Always
    33          name: nginx
    34          resources: {}
    35          terminationMessagePath: /dev/termination-log
    36          terminationMessagePolicy: File
    37        dnsPolicy: ClusterFirst
    38        restartPolicy: Always
    39        schedulerName: default-scheduler
    40        securityContext: {}
    41        terminationGracePeriodSeconds: 30
    42  status:
    43    availableReplicas: 2
    44    conditions:
    45    - lastTransitionTime: "2019-09-12T01:33:53Z"
    46      lastUpdateTime: "2019-09-12T01:33:53Z"
    47      message: Deployment does not have minimum availability.
    48      reason: MinimumReplicasUnavailable
    49      status: "False"
    50      type: Available
    51    - lastTransitionTime: "2019-09-12T01:33:53Z"
    52      lastUpdateTime: "2019-09-12T01:34:05Z"
    53      message: ReplicaSet "nginx-deploy-9cb4784bd" is progressing.
    54      reason: ReplicaSetUpdated
    55      status: "True"
    56      type: Progressing
    57    observedGeneration: 1
    58    readyReplicas: 2
    59    replicas: 3
    60    unavailableReplicas: 1
    61    updatedReplicas: 3