Skip to content

Commit

Permalink
Fix keepalived virtual_server config
Browse files Browse the repository at this point in the history
  • Loading branch information
lentil1016 committed Nov 6, 2018
1 parent cb4c9b4 commit df0ab7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions kubeha-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ vrrp_instance VI_1 {
virtual_server ${VIP} 6443 {
delay_loop 6
lb_algo rr
lb_kind NAT
persistence_timeout 50
lb_algo loadbalance
lb_kind DR
nat_mask 255.255.255.0
persistence_timeout 0
protocol TCP
${HEALTH_CHECK}
Expand Down
7 changes: 4 additions & 3 deletions kubeha-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ vrrp_instance VI_1 {
virtual_server ${VIP} 6443 {
delay_loop 6
lb_algo rr
lb_kind NAT
persistence_timeout 50
lb_algo loadbalance
lb_kind DR
nat_mask 255.255.255.0
persistence_timeout 0
protocol TCP
${HEALTH_CHECK}
Expand Down

0 comments on commit df0ab7b

Please sign in to comment.