mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 10:08:37 +03:00
Explicitly defines the --kubelet-preferred-address-types parameter
to the API server configuration. This solves the problem where if you have non-resolvable node names, and try to scale the server by adding new nodes, kubectl commands start to fail for newly added nodes, giving a TCP timeout error when trying to resolve the node hostname against a public DNS.
This commit is contained in:
committed by
Antoine Legrand
parent
dada98143c
commit
89847d5684
@@ -78,6 +78,9 @@ kube_oidc_auth: false
|
||||
## Variables for custom flags
|
||||
apiserver_custom_flags: []
|
||||
|
||||
# List of the preferred NodeAddressTypes to use for kubelet connections.
|
||||
kubelet_preferred_address_types: 'InternalDNS,InternalIP,Hostname,ExternalDNS,ExternalIP'
|
||||
|
||||
controller_mgr_custom_flags: []
|
||||
|
||||
scheduler_custom_flags: []
|
||||
|
||||
Reference in New Issue
Block a user