8d3e44c7d6
This provides more robustness in testing and removes a nosec.
Additionally, commit 5a8b1d8
introduced a random failure in the
resiliency gate, due to there being a chance to choose the intentionally
downed node for the join ip.
Change-Id: I77b410b8e51f9d41eca2be4f5f770694140733b4
45 lines
1.5 KiB
INI
45 lines
1.5 KiB
INI
# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
global
|
|
maxconn 10240
|
|
|
|
defaults
|
|
mode tcp
|
|
timeout connect 5000ms
|
|
timeout client 24h
|
|
timeout server 24h
|
|
|
|
frontend default-kubernetes-fe
|
|
bind *:{{ config['KubernetesNetwork:kubernetes.haproxy_port'] }}
|
|
default_backend default-kubernetes-be
|
|
|
|
backend default-kubernetes-be
|
|
option tcp-check
|
|
{%- set port = config['KubernetesNetwork:kubernetes.apiserver_port'] %}
|
|
{%- for ip in config.join_ips %}
|
|
server s{{ ip }} {{ ip }}:{{ port }} check port {{ port }}
|
|
{%- endfor %}
|
|
|
|
frontend kube-system-kubernetes-etcd-fe
|
|
bind *:{{ config['KubernetesNetwork:etcd.haproxy_port'] }}
|
|
default_backend kube-system-kubernetes-etcd-be
|
|
|
|
backend kube-system-kubernetes-etcd-be
|
|
option tcp-check
|
|
{%- set port = config['KubernetesNetwork:etcd.container_port'] %}
|
|
{%- for ip in config.join_ips %}
|
|
server s{{ ip }} {{ ip }}:{{ port }} check port {{ port }}
|
|
{%- endfor %}
|