"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.17.12/staging/src/k8s.io/kubectl/pkg/cmd/edit/testdata/testcase-single-service/0.response" (16 Sep 2020, 607 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 	"kind": "Service",
    3 	"apiVersion": "v1",
    4 	"metadata": {
    5 		"name": "svc1",
    6 		"namespace": "edit-test",
    7 		"selfLink": "/api/v1/namespaces/edit-test/services/svc1",
    8 		"uid": "5f7da8db-e8c3-11e6-b7e2-acbc32c1ca87",
    9 		"resourceVersion": "20715",
   10 		"creationTimestamp": "2017-02-01T21:14:09Z",
   11 		"labels": {
   12 			"app": "svc1"
   13 		}
   14 	},
   15 	"spec": {
   16 		"ports": [
   17 			{
   18 				"name": "80",
   19 				"protocol": "TCP",
   20 				"port": 80,
   21 				"targetPort": 80
   22 			}
   23 		],
   24 		"selector": {
   25 			"app": "svc1"
   26 		},
   27 		"clusterIP": "10.0.0.146",
   28 		"type": "ClusterIP",
   29 		"sessionAffinity": "None"
   30 	},
   31 	"status": {
   32 		"loadBalancer": {}
   33 	}
   34 }