Update nodes in etc hosts after cluster scale (#9837)

This commit is contained in:
Jack
2023-03-07 08:18:18 +08:00
committed by GitHub
parent dba29db58d
commit 9c41769dab
3 changed files with 60 additions and 53 deletions

View File

@@ -38,6 +38,8 @@ resolveconf_cloud_init_conf: /etc/resolveconf_cloud_init.conf
populate_inventory_to_hosts_file: true
# K8S Api FQDN will be written into /etc/hosts file.
populate_loadbalancer_apiserver_to_hosts_file: true
# etc_hosts_localhost_entries will be written into /etc/hosts file.
populate_localhost_entries_to_hosts_file: true
sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"