...
1{
2 "apiVersion": "v1",
3 "kind": "Service",
4 "metadata": {
5 "creationTimestamp": "2017-02-03T06:44:43Z",
6 "labels": {
7 "app": "svc2modified"
8 },
9 "name": "svc2",
10 "namespace": "edit-test",
11 "selfLink": "/api/v1/namespaces/edit-test/services/svc2",
12 "uid": "3e9b10db-e9dc-11e6-8c3b-acbc32c1ca87"
13 },
14 "spec": {
15 "clusterIP": "10.0.0.182.1",
16 "ports": [
17 {
18 "name": "80",
19 "port": 80,
20 "protocol": "VHF",
21 "targetPort": 80
22 }
23 ],
24 "selector": {
25 "app": "svc2"
26 },
27 "sessionAffinity": "None",
28 "type": "ClusterIP"
29 },
30 "status": {
31 "loadBalancer": {}
32 }
33}
View as plain text