mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Fix external lb error (#8299)
This commit is contained in:
@@ -60,3 +60,10 @@ pkg_install_retries: 4
|
||||
|
||||
# Check if access_ip responds to ping. Set false if your firewall blocks ICMP.
|
||||
ping_access_ip: true
|
||||
|
||||
apiserver_loadbalancer_domain_name_host: |-
|
||||
{% if inventory_hostname in groups['kube_control_plane'] -%}
|
||||
127.0.0.1
|
||||
{%- else -%}
|
||||
{{ loadbalancer_apiserver.address }}
|
||||
{%- endif %}
|
||||
|
||||
Reference in New Issue
Block a user