1.edited 703 B

123456789101112131415161718192021222324252627282930
  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. creationTimestamp: "2017-02-01T21:14:09Z"
  9. labels:
  10. app: svc1
  11. new-label: new-value
  12. name: svc1
  13. namespace: edit-test
  14. resourceVersion: "20820"
  15. selfLink: /api/v1/namespaces/edit-test/services/svc1
  16. uid: 5f7da8db-e8c3-11e6-b7e2-acbc32c1ca87
  17. spec:
  18. clusterIP: 10.0.0.146.1
  19. ports:
  20. - name: "80"
  21. port: 81
  22. protocol: TCP
  23. targetPort: 80
  24. selector:
  25. app: svc1
  26. sessionAffinity: None
  27. type: ClusterIP
  28. status:
  29. loadBalancer: {}