...
1{
2 "kind": "Service",
3 "apiVersion": "v1",
4 "metadata": {
5 "name": "svc2",
6 "namespace": "edit-test",
7 "selfLink": "/api/v1/namespaces/edit-test/services/svc2",
8 "uid": "31a1b8ae-ea5b-11e6-9b42-acbc32c1ca87",
9 "resourceVersion": "1470",
10 "creationTimestamp": "2017-02-03T21:53:27Z",
11 "labels": {
12 "app": "svc2"
13 }
14 },
15 "spec": {
16 "ports": [
17 {
18 "name": "80",
19 "protocol": "TCP",
20 "port": 80,
21 "targetPort": 81
22 }
23 ],
24 "selector": {
25 "app": "svc2",
26 "new-label": "new-value"
27 },
28 "clusterIP": "10.0.0.55",
29 "type": "ClusterIP",
30 "sessionAffinity": "None"
31 },
32 "status": {
33 "loadBalancer": {}
34 }
35}
View as plain text