...
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": "208b27ed-ea5b-11e6-9b42-acbc32c1ca87",
9 "resourceVersion": "1437",
10 "creationTimestamp": "2017-02-03T21:52:59Z",
11 "labels": {
12 "app": "svc1",
13 "new-label": "new-value"
14 }
15 },
16 "spec": {
17 "ports": [
18 {
19 "name": "81",
20 "protocol": "TCP",
21 "port": 82,
22 "targetPort": 81
23 }
24 ],
25 "selector": {
26 "app": "svc1"
27 },
28 "clusterIP": "10.0.0.15",
29 "type": "ClusterIP",
30 "sessionAffinity": "None"
31 },
32 "status": {
33 "loadBalancer": {}
34 }
35}
View as plain text