mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Add 'auto' option for MASTER_RESERVED_IP. No ElasticIP allocation by default.
Default behaviour when setting up a cluster is using the Amazon-assigned public ip. It will change between reboots. If MASTER_RESERVED_IP is set to 'auto', new Elastic IP will be allocated & assigned to master. If MASTER_RESERVED_IP is set to an existing Elastic IP, it will be used. When something fails, original Amazon-given IP will be used.
This commit is contained in:
@@ -44,7 +44,8 @@ POLL_SLEEP_INTERVAL=3
|
||||
PORTAL_NET="10.0.0.0/16"
|
||||
MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}"
|
||||
# If set to Elastic IP, master instance will be associated with this IP.
|
||||
# Otherwise new Elastic IP will be aquired
|
||||
# If set to auto, a new Elastic IP will be aquired
|
||||
# Otherwise amazon-given public ip will be used (it'll change with reboot).
|
||||
MASTER_RESERVED_IP="${MASTER_RESERVED_IP:-}"
|
||||
|
||||
# When set to true, Docker Cache is enabled by default as part of the cluster bring up.
|
||||
|
Reference in New Issue
Block a user