1.original 1014 B

1234567891011121314151617181920212223242526272829303132
  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. annotations:
  9. kubectl.kubernetes.io/last-applied-configuration: |
  10. {"kind":"Service","apiVersion":"v1","metadata":{"name":"svc1","creationTimestamp":null,"labels":{"app":"svc1"}},"spec":{"ports":[{"name":"80","protocol":"TCP","port":80,"targetPort":80}],"selector":{"app":"svc1"},"type":"ClusterIP"},"status":{"loadBalancer":{}}}
  11. creationTimestamp: "2017-02-27T19:40:53Z"
  12. labels:
  13. app: svc1
  14. name: svc1
  15. namespace: edit-test
  16. resourceVersion: "670"
  17. selfLink: /api/v1/namespaces/edit-test/services/svc1
  18. uid: a6c11186-fd24-11e6-b53c-480fcf4a5275
  19. spec:
  20. clusterIP: 10.0.0.204
  21. ports:
  22. - name: "80"
  23. port: 80
  24. protocol: TCP
  25. targetPort: 80
  26. selector:
  27. app: svc1
  28. sessionAffinity: None
  29. type: ClusterIP
  30. status:
  31. loadBalancer: {}