Fix if bind-address is not set to 0.0.0.0 (#8262)

* if bind-address is not set to 0.0.0.0

* Update docs and left comments

* fix yamllist check: remove space
This commit is contained in:
Hanna Bledai
2021-12-06 10:58:32 +03:00
committed by GitHub
parent 46b1b7ab34
commit 615216f397
4 changed files with 17 additions and 9 deletions

View File

@@ -214,7 +214,11 @@ kube_network_node_prefix_ipv6: 120
# NOTE: loadbalancer_apiserver_localhost somewhat alters the final API enpdoint
# access IP value (automatically evaluated below)
kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}"
# NOTE: If you specific address/interface and use loadbalancer_apiserver_localhost
# loadbalancer_apiserver_localhost (nginx/haproxy) will deploy on masters on 127.0.0.1:{{ loadbalancer_apiserver_port|default(kube_apiserver_port) }} too.
kube_apiserver_bind_address: 0.0.0.0
# https
kube_apiserver_port: 6443
# http