-
Notifications
You must be signed in to change notification settings - Fork 190
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
fix: resize filesystem if cloned volume capacity is larger than the source volume #657
Conversation
Welcome @sunpa93! |
Hi @sunpa93. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/ok-to-test
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.
thanks, with this PR, volume cloning feature should be ready.
And don't forget to git rebase -i HEAD~7
to squash all commits for this PR.
f1470d0
to
9ab205d
Compare
9467ee5
to
9da91cf
Compare
9da91cf
to
25b2db6
Compare
I don't see there is other way since os disk is just a normal disk returned by |
Probably we can use this parameter to check if its an OS disk or not. What do you say? This param is only populated for OS disks as per the docs. Created an issue for tracking : #678 |
@nearora-msft that's a little tricky IMO, filter out by diskName should be clear enough |
9f8ac8b
to
ceee3ad
Compare
32de927
to
ceee3ad
Compare
dad288a
to
ceee3ad
Compare
ceee3ad
to
cbc2a0b
Compare
83a64ec
to
d91a9cd
Compare
add additional field in CreateVolumeRespone to denote whether filesystem needs to be resized or not and resize filesystem in nodeserver accordingly added e2e test for cloning a volume larger than the source volume test: add unit test for getDevicePathWithMountPath add unit test for GetSourceDiskSize; edit error message
d91a9cd
to
fc97c59
Compare
/retest |
2 similar comments
/retest |
/retest |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, sunpa93 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…lume feat: add inline volume support
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #528
Requirements:
Special notes for your reviewer:
Release note: