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
support Azure data disk volume #29836
Conversation
07ff4bf
to
c9d26a7
Compare
@thockin feel free to remove yourself if you want (though feel free to review if you want too ;) |
0203865
to
c23fcb0
Compare
FSType string `json:"fsType,omitempty" protobuf:"bytes,4,opt,name=fsType"` | ||
// Defaults to false (read/write). ReadOnly here will force | ||
// the ReadOnly setting in VolumeMounts. | ||
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,5,opt,name=readOnly"` |
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.
shouldn't this be a protobuf boolean, not a varint?
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.
seems all bool
use varint
vm, exists, err := az.getVirtualMachine(vmName) | ||
if err != nil || !exists { | ||
// if host doesn't exist, no need to detach | ||
glog.Errorf("cannot find node %s", vmName) |
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.
Make this a warning and make it clear that detach is being skipped because of it.
Thanks @saad-ali I will work to get those comments addressed asap. |
Reviewed 1 of 27 files at r3, 4 of 6 files at r4, 2 of 25 files at r7, 2 of 23 files at r8, 22 of 26 files at r9, 6 of 6 files at r10. Comments from Reviewable |
Review status: all files reviewed at latest revision, 20 unresolved discussions. pkg/volume/azure_dd/attacher.go, line 268 [r7] (raw file):
|
Review status: all files reviewed at latest revision, 20 unresolved discussions. pkg/api/types.go, line 759 [r1] (raw file):
|
@rootfs PR needs rebase |
Signed-off-by: Huamin Chen <hchen@redhat.com>
/lgtm cancel //PR changed after LGTM, removing LGTM. @brendandburns @jingxu97 @rootfs @saad-ali |
GCE e2e build/test passed for commit dea4b02. |
@brendandburns @saad-ali PR rebased. Can you tag it again? Thanks! |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit dea4b02. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit dea4b02. |
Automatic merge from submit-queue |
This is a WIP of supporting azure data disk volume. Will add test and dynamic provisioning support once #29006 is merged
replace #25915
fix #23259
@kubernetes/sig-storage
@colemickens @brendandburns
This change is