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: svc2 10 name: svc2 11 namespace: edit-test 12spec: 13 ports: 14 - name: "80" 15 port: 80 16 protocol: TCP 17 targetPort: 80 18 selector: 19 app: svc2 20 sessionAffinity: None 21 type: ClusterIP