mirror of https://github.com/k3s-io/k3s
117e72aeb2
Automatic merge from submit-queue (batch tested with PRs 38818, 38813, 38820) AWS: Add sequential allocator for device names. On AWS, we should not reuse device names as long as possible, see https://aws.amazon.com/premiumsupport/knowledge-center/ebs-stuck-attaching/ > "If you specify a device name that is not in use by EC2, but is being used by the block device driver within the EC2 instance, the attachment of the EBS volume does not succeed and the EBS volume is stuck in the attaching state." This patch adds a device name allocator that tries to find a name that's next to the last used device name instead of using the first available one. This way we will loop through all device names ("xvdba" .. "xvdzz") before a device name is reused. Fixes: #31891 @wongma7, @gnufied, @childsb PTAL |
||
---|---|---|
.. | ||
providers | ||
BUILD | ||
OWNERS | ||
cloud.go | ||
doc.go | ||
plugins.go |