-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path20-murmur-svc.yaml
59 lines (59 loc) · 1.07 KB
/
20-murmur-svc.yaml
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
apiVersion: v1
kind: Service
metadata:
name: murmur-service-udp
namespace: murmur
annotations:
metallb.universe.tf/allow-shared-ip: "true"
labels:
app: murmur
spec:
type: LoadBalancer
loadBalancerIP: 10.13.8.25
externalTrafficPolicy: Local
ports:
- name: murmur-udp
port: 64738
protocol: UDP
selector:
app: murmur
---
apiVersion: v1
kind: Service
metadata:
name: murmur-service-tcp
namespace: murmur
annotations:
metallb.universe.tf/allow-shared-ip: "true"
labels:
app: murmur
spec:
type: LoadBalancer
loadBalancerIP: 10.13.8.25
externalTrafficPolicy: Local
ports:
- name: murmur-tcp
port: 64738
protocol: TCP
selector:
app: murmur
---
apiVersion: v1
kind: Service
metadata:
name: murmur-service-grpc-tcp
namespace: murmur
annotations:
metallb.universe.tf/allow-shared-ip: "true"
labels:
app: murmur
spec:
type: LoadBalancer
loadBalancerIP: 10.13.8.25
externalTrafficPolicy: Local
ports:
- name: murmur-grpc-tcp
port: 50051
protocol: TCP
selector:
app: murmur