-
Notifications
You must be signed in to change notification settings - Fork 0
/
list_for_grpc.json
81 lines (80 loc) · 2.15 KB
/
list_for_grpc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "ReplicationController",
"metadata": {
"labels": {
"name": "grpc-rc"
},
"name": "grpc-rc"
},
"spec": {
"replicas": 1,
"template": {
"metadata": {
"labels": {
"name": "grpcserver-pods"
}
},
"spec": {
"containers": [
{
"image": "lihongan/grpc-server",
"name": "grpc-server"
}
]
}
}
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"name": "service-secure"
},
"name": "service-secure"
},
"spec": {
"ports": [
{
"name": "https",
"port": 50443,
"protocol": "TCP",
"targetPort": 50443
}
],
"selector": {
"name": "grpcserver-pods"
}
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"labels": {
"name": "service-unsecure"
},
"name": "service-unsecure"
},
"spec": {
"ports": [
{
"name": "http",
"port": 50080,
"protocol": "TCP",
"targetPort": 50080
}
],
"selector": {
"name": "grpcserver-pods"
}
}
}
]
}