0.response 1.1 KB

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