2.response 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "kind": "Service",
  3. "apiVersion": "v1",
  4. "metadata": {
  5. "annotations": {
  6. "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"creationTimestamp\":\"2017-02-27T19:40:53Z\",\"labels\":{\"app\":\"svc1\",\"new-label\":\"new-value\"},\"name\":\"svc1\",\"namespace\":\"edit-test\",\"resourceVersion\":\"670\",\"selfLink\":\"/api/v1/namespaces/edit-test/services/svc1\",\"uid\":\"a6c11186-fd24-11e6-b53c-480fcf4a5275\"},\"spec\":{\"clusterIP\":\"10.0.0.204\",\"ports\":[{\"name\":\"80\",\"port\":80,\"protocol\":\"TCP\",\"targetPort\":80}],\"selector\":{\"app\":\"svc1\"},\"sessionAffinity\":\"None\",\"type\":\"ClusterIP\"},\"status\":{\"loadBalancer\":{}}}\n"
  7. },
  8. "name": "svc1",
  9. "namespace": "edit-test",
  10. "selfLink": "/api/v1/namespaces/edit-test/services/svc1",
  11. "uid": "a6c11186-fd24-11e6-b53c-480fcf4a5275",
  12. "resourceVersion":"1045",
  13. "creationTimestamp":"2017-02-27T19:40:53Z",
  14. "labels": {
  15. "app": "svc1",
  16. "new-label": "new-value"
  17. }
  18. },
  19. "spec": {
  20. "clusterIP": "10.0.0.204",
  21. "ports": [
  22. {
  23. "name": "80",
  24. "port": 80,
  25. "protocol": "TCP",
  26. "targetPort": 80
  27. }
  28. ],
  29. "selector": {
  30. "app": "svc1"
  31. },
  32. "sessionAffinity": "None",
  33. "type": "ClusterIP"
  34. },
  35. "status": {
  36. "loadBalancer": {}
  37. }
  38. }