-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for no-downtime disk resizes. #17245
Merged
manicminer
merged 21 commits into
hashicorp:main
from
kazimierzbudzyk:kb/live-disk-resize
Nov 9, 2022
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
851699d
Add support for no-downtime disk resizes.
kazimierzbudzyk a77f38e
review: switch to feature from resource argument
kazimierzbudzyk 1111471
review: check disk type on resize
kazimierzbudzyk 67dda3f
tweak docs
kazimierzbudzyk 547a7cf
Merge branch 'master' of github.com:kazimierzbudzyk/terraform-provide…
kazimierzbudzyk 80e65c3
flip default to true
kazimierzbudzyk fa1d8d0
vendor
kazimierzbudzyk d0fe26c
fix test
kazimierzbudzyk bd50a25
no live resize for Standard HDD
kazimierzbudzyk 87a68d1
ultra ssd also require restart
kazimierzbudzyk 9c37781
update branch
kazimierzbudzyk 0f3cb84
invert disk type matching logic to be more explicit
kazimierzbudzyk bce7ef8
update branch
kazimierzbudzyk 9a7b998
update to use disks package instead of compute
kazimierzbudzyk 1b3cc70
merge
kazimierzbudzyk 6ca8c00
Merge branch 'hashicorp:main' into kb/live-disk-resize
kazimierzbudzyk 87c5510
r/managed_disk: support for Expand Without Downtime
tombuildsstuff db79bfc
go mod tidy/vendor
tombuildsstuff 909ae41
Merge branch 'main' into kb/live-disk-resize
manicminer 4f423ea
Rename feature flag
manicminer 0c8c96a
goimports
manicminer File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is a behavioural feature, this'd need to be added to the
features
block rather than being enabled against the resource - although I think we actually want to enable this functionality by default where possible once this goes GA - as such I'm not sure this makes sense as a behavioural feature here, where we can instead wait for this to hit GA first and then enable this by default?We'll also need to update the
shutDownOnResize
method below to check the disk type too, since this is only supported for Data Disks and not OS DisksThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @tombuildsstuff! Implementing your feedback...
This feature is something my team could use immediately (and likely a lot of other users). If possible starting with it being opt-in while in preview would be super helpful to us, especially if GA will take a bit more. After GA we definitely should flip the default of the feature flag as it will make a lot of operations much easier.