-
Notifications
You must be signed in to change notification settings - Fork 40k
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 Quobyte as StorageClass #31434
Support Quobyte as StorageClass #31434
Conversation
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
6 similar comments
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message will repeat several times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. |
if len(user) == 0 { | ||
var user, group string | ||
|
||
if user = quobyteVolume.user; len(user) == 0 { |
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.
Prefer:
user := quobyteVolume.user
if len(user) == 0 {
user = "root"
}
...
1d6dc04
to
f29c5da
Compare
Review status: 0 of 23 files reviewed at latest revision, 16 unresolved discussions. examples/experimental/persistent-volume-provisioning/README.md, line 146 [r1] (raw file):
apiServer is rather ambiguous, make it quobyteApiServer or something that is distinguishable from kube-apiserver. examples/experimental/persistent-volume-provisioning/README.md, line 147 [r1] (raw file):
semicolon->comma examples/experimental/persistent-volume-provisioning/README.md, line 150 [r1] (raw file):
what does "all access" mean? examples/experimental/persistent-volume-provisioning/quobyte/quobyte-storage-class.yaml, line 7 [r1] (raw file):
https if possible pkg/volume/quobyte/quobyte.go, line 50 [r1] (raw file):
quobyteApiServer for less confusion, same for the rest. Comments from Reviewable |
@brendandburns we update the Quobyte API client and remove the external @rootfs got some time for reviewing the code? |
I still see the gorilla library being added. Missing a push? or perhaps just need to remove the commit? Thanks |
@rootfs can we tag this PR to be tested? So in the first step this PR is fine with a reference to the secrets in the PV Annotations but in a second step (when external provisioners are available) we should refactor this into an external provisioners? Are there already some design docs for external provisioners? |
@k8s-bot ok to test |
looks OK to me, @brendandburns, @rootfs opinions? @johscheuer, can you please provide an e2e tests for Quobyte volume plugin (mount/unmount) in a subsequent PR? Look at Test for provisioning would be helpful too ( |
ca41e50
to
0e8fb8a
Compare
@jsafrane I will have a look at but only in two weeks I'm stuffed with other things at the moment that I have to finish first. When I correctly remember we decided to not implement a 2e2 for Quobyte these reasons: #24977 (comment) (+following) |
LGTM, pass @brendandburns for tags. |
tagged. |
0e8fb8a
to
02db13b
Compare
@brendandburns looks like my last push got stuck :( I fixed a small typo before the |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 02db13b. |
Automatic merge from submit-queue |
Thanks! |
This PR allows Users to use Quobyte as StorageClass for dynamic volume provisioning and implements the Provisioner/Deleter Interface.
@quolix @kubernetes/sig-storage @rootfs
This change is