Rework multi-volume test to use StatefulSet#66925
Rework multi-volume test to use StatefulSet#66925k8s-github-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
/assign @davidz627 |
|
/retest |
davidz627
left a comment
There was a problem hiding this comment.
mostly looks good. just some questions and readability things.
There was a problem hiding this comment.
why are we sleeping for so long?
There was a problem hiding this comment.
I just want to simulate a long running process
There was a problem hiding this comment.
do we have to scale down before deleting? If so, can you add a comment for why
There was a problem hiding this comment.
mainly because i wanted to use the statefulset testing library which doesn't have a method to wait for deletion, and this is what they do.
There was a problem hiding this comment.
Is it necessary to double validate here? We're already deleting the statefulset and bringing a new one up.
There was a problem hiding this comment.
not strictly. I can remove it
There was a problem hiding this comment.
do we need this? there is no corresponding service being created
There was a problem hiding this comment.
from the top level of this test it is not clear where the volume mount names are coming from, it would be better if you could somehow extract the volume mount paths out to this top level and pass it into this function so that the test is slightly more readable.
#testingOnTheToiletEp529
|
Updated |
davidz627
left a comment
There was a problem hiding this comment.
small comment then lgtm
There was a problem hiding this comment.
clean up the statefulset after test?
There was a problem hiding this comment.
do we need to setting this explicitly to ""
|
/sig storage |
|
updated |
|
/test pull-kubernetes-e2e-gce-device-plugin-gpu |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidz627, msau42 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Automatic merge from submit-queue (batch tested with PRs 66933, 66925). If you want to cherry-pick this change to another branch, please follow the instructions here. |
…-upstream-release-1.9 Automatic merge from submit-queue. Automated cherry pick of #66832: Detect if GCE PD udev link is wrong and try to correct it Cherry pick of #66832 on release-1.9. #66832: Detect if GCE PD udev link is wrong and try to correct it #66925: Rework multi-volume test to use StatefulSet
What this PR does / why we need it:
The e2e test that got added as part of #66832 fails in a multi-zone environment because the volumes get provisioned in random zones. This PR reworks the test to use StatefulSet instead, which handles provisioning multiple PVCs in the same zone.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: