kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-edit-output-patch/0.response

{
  "apiVersion": "v1",
  "kind": "Service",
  "metadata": {
    "annotations": {
      "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"
    },
    "creationTimestamp": "2017-02-27T19:40:53Z",
    "labels": {
      "app": "svc1"
    },
    "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": {}
  }
}