3.edited 902 B

12345678910111213141516171819202122232425262728293031323334
  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. # services "svc1" was not valid:
  6. # * spec.clusterIP: Invalid value: "10.0.0.146.1": field is immutable
  7. # * spec.clusterIP: Invalid value: "10.0.0.146.1": must be empty, 'None', or a valid IP address
  8. #
  9. apiVersion: v1
  10. kind: Service
  11. metadata:
  12. creationTimestamp: "2017-02-01T21:14:09Z"
  13. labels:
  14. app: svc1
  15. new-label: new-value
  16. name: svc1
  17. namespace: edit-test
  18. resourceVersion: "20820"
  19. selfLink: /api/v1/namespaces/edit-test/services/svc1
  20. uid: 5f7da8db-e8c3-11e6-b7e2-acbc32c1ca87
  21. spec:
  22. clusterIP: 10.0.0.146
  23. ports:
  24. - name: "80"
  25. port: 82
  26. protocol: TCP
  27. targetPort: 80
  28. selector:
  29. app: svc1
  30. sessionAffinity: None
  31. type: ClusterIP
  32. status:
  33. loadBalancer: {}