...
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 labels:
9 app: svc1
10 new-label: new-value
11 name: svc1
12 namespace: edit-test
13spec:
14 ports:
15 - name: "81"
16 port: 82
17 protocol: TCP
18 targetPort: 81
19 selector:
20 app: svc1
21 sessionAffinity: None
22 type: ClusterIP
View as plain text