...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-edit-subresource-status/1.original

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-edit-subresource-status

     1# Please edit the object below. Lines beginning with a '#' will be ignored,
     2# and an empty file will abort the edit. If an error occurs while saving this file will be
     3# reopened with the relevant failures.
     4#
     5apiVersion: apps/v1
     6kind: Deployment
     7metadata:
     8  annotations:
     9    deployment.kubernetes.io/revision: "1"
    10  creationTimestamp: "2021-06-23T17:01:10Z"
    11  generation: 5
    12  labels:
    13    app: nginx
    14  name: nginx
    15  namespace: edit-test
    16  resourceVersion: "121107"
    17  uid: a598ee47-9635-482b-bacb-16c9e3ade05c
    18spec:
    19  progressDeadlineSeconds: 600
    20  replicas: 3
    21  revisionHistoryLimit: 10
    22  selector:
    23    matchLabels:
    24      app: nginx
    25  strategy:
    26    rollingUpdate:
    27      maxSurge: 25%
    28      maxUnavailable: 25%
    29    type: RollingUpdate
    30  template:
    31    metadata:
    32      creationTimestamp: null
    33      labels:
    34        app: nginx
    35    spec:
    36      containers:
    37      - image: gcr.io/kakaraparthy-devel/nginx:latest
    38        imagePullPolicy: Always
    39        name: nginx
    40        resources: {}
    41        terminationMessagePath: /dev/termination-log
    42        terminationMessagePolicy: File
    43      dnsPolicy: ClusterFirst
    44      restartPolicy: Always
    45      schedulerName: default-scheduler
    46      securityContext: {}
    47      terminationGracePeriodSeconds: 30
    48status:
    49  availableReplicas: 3
    50  conditions:
    51  - lastTransitionTime: "2021-06-23T17:01:10Z"
    52    lastUpdateTime: "2021-06-23T17:01:18Z"
    53    message: ReplicaSet "nginx-6f5fdbd667" has successfully progressed.
    54    reason: NewReplicaSetAvailable
    55    status: "True"
    56    type: Progressing
    57  - lastTransitionTime: "2021-06-23T17:59:01Z"
    58    lastUpdateTime: "2021-06-23T17:59:01Z"
    59    message: Deployment has minimum availability.
    60    reason: MinimumReplicasAvailable
    61    status: "True"
    62    type: Available
    63  observedGeneration: 5
    64  readyReplicas: 3
    65  replicas: 3
    66  updatedReplicas: 3

View as plain text