Load balancer
This commit is contained in:
parent
36f1e4ca2a
commit
d9859dc3c8
1 changed files with 5 additions and 3 deletions
|
@ -119,10 +119,13 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: bind-slave
|
name: bind-master
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
selector:
|
selector:
|
||||||
app: bind-slave
|
app: bind-master
|
||||||
ports:
|
ports:
|
||||||
- name: dns-udp
|
- name: dns-udp
|
||||||
port: 53
|
port: 53
|
||||||
|
@ -133,4 +136,3 @@ spec:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 53
|
targetPort: 53
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue