mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh The zone matters just as much as the region, e.g. for EBS volumes. We also change the config to require a Zone, not a Region. But we fallback to get the information from the metadata service.
This commit is contained in:
@@ -28,7 +28,7 @@ EOF
|
||||
|
||||
cat <<EOF > /etc/aws.conf
|
||||
[Global]
|
||||
Region = ${AWS_ZONE}
|
||||
Zone = ${AWS_ZONE}
|
||||
EOF
|
||||
|
||||
# Auto accept all keys from minions that try to join
|
||||
|
Reference in New Issue
Block a user