"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.17.12/staging/src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-edit-output-patch/0.response" (16 Sep 2020, 1078 Bytes) of package /linux/misc/kubernetes-1.17.12.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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 }