2.edited 558 B

12345678910111213141516171819202122232425
  1. # Please edit the 'last-applied-configuration' annotations below.
  2. # Lines beginning with a '#' will be ignored, and an empty file will abort the edit.
  3. #
  4. # The edited file had a syntax error: error converting YAML to JSON: yaml: line 13: could not find expected ':'
  5. #
  6. kind: Service
  7. metadata:
  8. annotations: {}
  9. labels:
  10. app: svc1
  11. new-label: foo
  12. new-label1: foo1
  13. name: svc1
  14. namespace: myproject
  15. spec:
  16. ports:
  17. - name: "80"
  18. port: 81
  19. protocol: TCP
  20. targetPort: 81
  21. sessionAffinity: None
  22. type: ClusterIP
  23. status:
  24. loadBalancer: {}