...
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": "c07152b8-e9dc-11e6-8c3b-acbc32c1ca87",
9 "resourceVersion": "3171",
10 "creationTimestamp": "2017-02-03T06:48:21Z",
11 "labels": {
12 "app": "svc1modified"
13 }
14 },
15 "spec": {
16 "ports": [
17 {
18 "name": "81",
19 "protocol": "TCP",
20 "port": 82,
21 "targetPort": 81
22 }
23 ],
24 "selector": {
25 "app": "svc1"
26 },
27 "clusterIP": "10.0.0.118",
28 "type": "ClusterIP",
29 "sessionAffinity": "None"
30 },
31 "status": {
32 "loadBalancer": {}
33 }
34}
View as plain text