{
  "apiVersion": "networking.k8s.io/v1",
  "kind": "Ingress",
  "metadata": {
    "labels": {
      "role": "ingress"
    },
    "annotations": {
      "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"Ingress\",\"metadata\":{\"annotations\":{\"nginx.ingress.kubernetes.io/rewrite-target\":\"/\"},\"name\":\"test-ingress\",\"namespace\":\"default\"},\"spec\":{\"rules\":[{\"http\":{\"paths\":[{\"backend\":{\"serviceName\":\"test\",\"servicePort\":80},\"path\":\"/testpath\"}]}}]}}\n",
      "nginx.ingress.kubernetes.io/rewrite-target": "/"
    },
    "creationTimestamp": "2019-08-30T20:53:52Z",
    "generation": 1,
    "name": "test-ingress",
    "namespace": "default",
    "resourceVersion": "49801063",
    "selfLink": "/apis/networking.k8s.io/v1/namespaces/default/ingresses/test-ingress",
    "uid": "45e44c1d-cb68-11e9-990f-42010a800218"
  },
  "spec": {
    "rules": [
      {
        "http": {
          "paths": [
            {
              "backend": {
                "serviceName": "test",
                "servicePort": 80
              },
              "path": "/testpath"
            }
          ]
        }
      }
    ]
  },
  "status": {
    "loadBalancer": {}
  }
}