...

Text file src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-create-list/svc.yaml

Documentation: k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-create-list

     1apiVersion: v1
     2items:
     3- apiVersion: v1
     4  kind: Service
     5  metadata:
     6    labels:
     7      app: svc1
     8    name: svc1
     9  spec:
    10    ports:
    11    - name: "81"
    12      port: 81
    13      protocol: TCP
    14      targetPort: 81
    15    selector:
    16      app: svc1
    17    sessionAffinity: None
    18    type: ClusterIP
    19- apiVersion: v1
    20  kind: Service
    21  metadata:
    22    labels:
    23      app: svc2
    24    name: svc2
    25    namespace: edit-test
    26  spec:
    27    ports:
    28    - name: "80"
    29      port: 80
    30      protocol: TCP
    31      targetPort: 80
    32    selector:
    33      app: svc2
    34    sessionAffinity: None
    35    type: ClusterIP
    36kind: List
    37metadata: {}
    38resourceVersion: ""
    39selfLink: ""

View as plain text