mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 21:55:48 +00:00
Fix script for case when neeed to setup cluster in an existen VPC and subnet with ip mask example: 10.0.0.0/8. Fixed bug to detect ip of master if provided MASTER_RESERVED_IP. For some reason detecting master ip was moved to volumes and only when MASTER_RESERVED_IP=auto. If specify IPv4 for MASTER_RESERVED_IP like `52.1.1.1`, than we could not detect ip even during last steps of setuping cluster. step the KUBE_MASTER_IP is reseted because there are no tag for the volume.