mirror of
https://github.com/batonogov/learn-devops.git
synced 2025-12-03 02:33:02 +00:00
Add L2 Load Balancer (#16)
Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
This commit is contained in:
committed by
GitHub
parent
55deb994c6
commit
52a3d0eb3b
@@ -32,7 +32,7 @@ defaults
|
||||
# apiserver frontend which proxys to the control plane nodes
|
||||
#---------------------------------------------------------------------
|
||||
frontend apiserver
|
||||
bind *:7443
|
||||
bind *:8888
|
||||
mode tcp
|
||||
option tcplog
|
||||
default_backend apiserverbackend
|
||||
@@ -46,7 +46,7 @@ backend apiserverbackend
|
||||
mode tcp
|
||||
option ssl-hello-chk
|
||||
balance roundrobin
|
||||
server 10.0.70.70 10.0.70.70:6443 check
|
||||
server 10.0.70.78 10.0.70.78:6443 check
|
||||
server 10.0.70.79 10.0.70.79:6443 check
|
||||
server 10.0.75.81 10.0.75.81:6443 check
|
||||
server 10.0.75.82 10.0.75.82:6443 check
|
||||
server 10.0.75.83 10.0.75.83:6443 check
|
||||
# [...]
|
||||
|
||||
Reference in New Issue
Block a user