2.original 562 B

123456789101112131415161718192021222324
  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 parsing edited-file: 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. name: svc1
  13. namespace: myproject
  14. spec
  15. ports:
  16. name: "80"
  17. port: 81
  18. protocol: TCP
  19. targetPort: 81
  20. sessionAffinity: None
  21. type: ClusterIP
  22. status:
  23. loadBalancer: {