0.edited 480 B

1234567891011121314151617181920212223
  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. #
  5. apiVersion: v1
  6. kind: Service
  7. metadata:
  8. labels:
  9. app: svc1
  10. new-label: new-value
  11. name: svc1
  12. namespace: edit-test
  13. spec:
  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