Browse Source
Enhance ha document (#5664)
* Fix HAproxy config to avoid client offered only unsupported versions error
* Add HAproxy SSL check interval
* Fix ha mode document markdown
pull/5676/head
keyboardfann
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
docs/ha-mode.md
|
@ -53,12 +53,12 @@ an example configuration for a HAProxy service acting as an external LB: |
|
|
```raw |
|
|
```raw |
|
|
listen kubernetes-apiserver-https |
|
|
listen kubernetes-apiserver-https |
|
|
bind <VIP>:8383 |
|
|
bind <VIP>:8383 |
|
|
option ssl-hello-chk |
|
|
|
|
|
mode tcp |
|
|
mode tcp |
|
|
|
|
|
option log-health-checks |
|
|
timeout client 3h |
|
|
timeout client 3h |
|
|
timeout server 3h |
|
|
timeout server 3h |
|
|
server master1 <IP1>:6443 |
|
|
|
|
|
server master2 <IP2>:6443 |
|
|
|
|
|
|
|
|
server master1 <IP1>:6443 check check-ssl verify none inter 10000 |
|
|
|
|
|
server master2 <IP2>:6443 check check-ssl verify none inter 10000 |
|
|
balance roundrobin |
|
|
balance roundrobin |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|