Remove etcd from haproxy cfg template
Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: Ib4efe7494be1a6cd243303be9375c25894c77eef
This commit is contained in:
parent
9425f85295
commit
e4c9fdb861
@ -510,16 +510,6 @@ data:
|
|||||||
- mode tcp
|
- mode tcp
|
||||||
- option tcp-check
|
- option tcp-check
|
||||||
- option redispatch
|
- option redispatch
|
||||||
kubernetes-etcd:
|
|
||||||
server_opts: "check port 2379"
|
|
||||||
conf_parts:
|
|
||||||
frontend:
|
|
||||||
- mode tcp
|
|
||||||
- bind *:2378
|
|
||||||
backend:
|
|
||||||
- mode tcp
|
|
||||||
- option tcp-check
|
|
||||||
- option redispatch
|
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
@ -629,7 +619,7 @@ data:
|
|||||||
apiVersion: apiserver.config.k8s.io/v1
|
apiVersion: apiserver.config.k8s.io/v1
|
||||||
apiserver:
|
apiserver:
|
||||||
etcd:
|
etcd:
|
||||||
endpoints: https://127.0.0.1:2378
|
endpoints: https://127.0.0.1:2379
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
anchor: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal
|
anchor: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal
|
||||||
|
@ -516,16 +516,6 @@ data:
|
|||||||
- mode tcp
|
- mode tcp
|
||||||
- option tcp-check
|
- option tcp-check
|
||||||
- option redispatch
|
- option redispatch
|
||||||
kubernetes-etcd:
|
|
||||||
server_opts: "check port 2379"
|
|
||||||
conf_parts:
|
|
||||||
frontend:
|
|
||||||
- mode tcp
|
|
||||||
- bind *:2378
|
|
||||||
backend:
|
|
||||||
- mode tcp
|
|
||||||
- option tcp-check
|
|
||||||
- option redispatch
|
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
@ -635,7 +625,7 @@ data:
|
|||||||
apiVersion: apiserver.config.k8s.io/v1
|
apiVersion: apiserver.config.k8s.io/v1
|
||||||
apiserver:
|
apiserver:
|
||||||
etcd:
|
etcd:
|
||||||
endpoints: https://127.0.0.1:2378
|
endpoints: https://127.0.0.1:2379
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
anchor: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal
|
anchor: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal
|
||||||
|
@ -32,16 +32,5 @@ backend default-kubernetes-be
|
|||||||
server s{{ ip }} {{ ip }}:{{ port }} check port {{ port }}
|
server s{{ ip }} {{ ip }}:{{ port }} check port {{ port }}
|
||||||
{%- endfor %}
|
{%- 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 %}
|
|
||||||
|
|
||||||
# Haproxy requires config files end with a newline.
|
# Haproxy requires config files end with a newline.
|
||||||
|
|
||||||
|
@ -545,16 +545,6 @@ data:
|
|||||||
- mode tcp
|
- mode tcp
|
||||||
- option tcp-check
|
- option tcp-check
|
||||||
- option redispatch
|
- option redispatch
|
||||||
kubernetes-etcd:
|
|
||||||
server_opts: "check"
|
|
||||||
conf_parts:
|
|
||||||
frontend:
|
|
||||||
- mode tcp
|
|
||||||
- bind *:2378
|
|
||||||
backend:
|
|
||||||
- mode tcp
|
|
||||||
- option tcp-check
|
|
||||||
- option redispatch
|
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
@ -646,7 +636,7 @@ data:
|
|||||||
values:
|
values:
|
||||||
apiserver:
|
apiserver:
|
||||||
etcd:
|
etcd:
|
||||||
endpoints: https://127.0.0.1:2378
|
endpoints: https://127.0.0.1:2379
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
anchor: ${IMAGE_ANCHOR}
|
anchor: ${IMAGE_ANCHOR}
|
||||||
|
@ -41,16 +41,16 @@
|
|||||||
- airship-promenade-chart-build-gate
|
- airship-promenade-chart-build-gate
|
||||||
- airship-promenade-chart-build-latest-htk
|
- airship-promenade-chart-build-latest-htk
|
||||||
- airship-promenade-genesis-containerd-gate
|
- airship-promenade-genesis-containerd-gate
|
||||||
- trigger-readthedocs-webhook
|
#- trigger-readthedocs-webhook
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
- airship-promenade-docker-publish_ubuntu_focal
|
- airship-promenade-docker-publish_ubuntu_focal
|
||||||
- promenade-upload-git-mirror
|
- promenade-upload-git-mirror
|
||||||
- trigger-readthedocs-webhook
|
#- trigger-readthedocs-webhook
|
||||||
pre-release:
|
pre-release:
|
||||||
jobs:
|
jobs: []
|
||||||
- trigger-readthedocs-webhook
|
#- trigger-readthedocs-webhook
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs: []
|
||||||
- trigger-readthedocs-webhook
|
#- trigger-readthedocs-webhook
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user