...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-single-service/1.edited

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-single-service

     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: v1
     6kind: Service
     7metadata:
     8  creationTimestamp: "2017-02-01T21:14:09Z"
     9  labels:
    10    app: svc1
    11    new-label: new-value
    12  name: svc1
    13  namespace: edit-test
    14  resourceVersion: "20715"
    15  selfLink: /api/v1/namespaces/edit-test/services/svc1
    16  uid: 5f7da8db-e8c3-11e6-b7e2-acbc32c1ca87
    17spec:
    18  clusterIP: 10.0.0.146
    19  ports:
    20  - name: "80"
    21    port: 81
    22    protocol: TCP
    23    targetPort: 80
    24  selector:
    25    app: svc1
    26  sessionAffinity: None
    27  type: ClusterIP
    28status:
    29  loadBalancer: {}

View as plain text