
Switch the port 80 and 443 endpoints over to doing http checks instead of tcp checks. This ensures that both apache and the zuul-web backend are functional before balancing to them. The fingergw remains a tcp check. Change-Id: Iabe2d7822c9ef7e4514b9a0eb627f15b93ad48e2
26 lines
876 B
Django/Jinja
26 lines
876 B
Django/Jinja
zuul_lb_listeners:
|
|
- name: balance_zuul_http
|
|
bind:
|
|
- ":::80"
|
|
check_option: "httpchk"
|
|
servers:
|
|
- name: "zuul02.opendev.org"
|
|
address: "{{ (hostvars['zuul02.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:80"
|
|
check_method: "check"
|
|
- name: balance_zuul_https
|
|
bind:
|
|
- ":::443"
|
|
check_option: "httpchk"
|
|
servers:
|
|
- name: "zuul02.opendev.org"
|
|
address: "{{ (hostvars['zuul02.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:443"
|
|
check_method: 'check-ssl verify none'
|
|
- name: balance_zuul_finger
|
|
bind:
|
|
- ":::79"
|
|
check_option: "tcp-check"
|
|
servers:
|
|
- name: "zuul02.opendev.org"
|
|
address: "{{ (hostvars['zuul02.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:79"
|
|
check_method: "check"
|