...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-apply-edit-last-applied/1.edited

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-apply-edit-last-applied

     1# Please edit the 'last-applied-configuration' annotations below.
     2# Lines beginning with a '#' will be ignored, and an empty file will abort the edit.
     3#
     4apiVersion: v1
     5kind: Service
     6metadata:
     7  annotations: {}
     8  creationTimestamp: "2017-02-01T21:14:09Z"
     9  labels:
    10    app: svc1
    11    new-label: new-value
    12  name: svc1
    13  namespace: myproject
    14  resourceVersion: "20820"
    15spec:
    16  ports:
    17  - name: "80"
    18    port: 81
    19    protocol: TCP
    20    targetPort: 92
    21  selector:
    22    app: svc1
    23  sessionAffinity: None
    24  type: ClusterIP
    25status:
    26  loadBalancer: {}

View as plain text