microsoft / MSLab

Azure Stack HCI, Windows 10 and Windows Server rapid lab deployment scripts
MIT License
1.2k stars 287 forks source link

Set longer DHCP lease time for AKS vm #452

Closed Li-Yanzhi closed 3 years ago

Li-Yanzhi commented 3 years ago

I found that the default lease time (8 minutes) will easily result to the issue of cannot finding/connecting AKS cluster when restarting host. When host restart (or shut down for a while), the mgmt. cluster and working cluster VMs might re-allocate new IP address, but based on initial configuration, the ETCD/API-Server will still use old IP to bind/connect, this will mess the entire AKS cluster, so longer DHCP lease time will help to keep the configuration & cluster stable.

jaromirk commented 3 years ago

Thank you!!!