mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-09-02 13:48:26 +02:00
Use IPv6 IP address in case no IPv4 is available
This commit is contained in:
parent
266d638305
commit
6bca7febf5
@ -34,7 +34,7 @@ kubernetes_config_kubelet_configuration:
|
|||||||
|
|
||||||
kubernetes_config_init_configuration:
|
kubernetes_config_init_configuration:
|
||||||
localAPIEndpoint:
|
localAPIEndpoint:
|
||||||
advertiseAddress: "{{ kubernetes_apiserver_advertise_address | default(ansible_default_ipv4.address, true) }}"
|
advertiseAddress: "{{ kubernetes_apiserver_advertise_address | default(ansible_default_ipv4.address, true) | default(ansible_default_ipv6.address, true) }}"
|
||||||
# if you use the next lines, remove the command line argument below
|
# if you use the next lines, remove the command line argument below
|
||||||
# nodeRegistration:
|
# nodeRegistration:
|
||||||
# ignorePreflightErrors:
|
# ignorePreflightErrors:
|
||||||
|
Loading…
Reference in New Issue
Block a user