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
Skip e2e tests that require node independent volume for the drivers that don't support node independent volumes #82678
Conversation
CapControllerExpansion Capability = "controllerExpansion" // support volume expansion for controller | ||
CapNodeExpansion Capability = "nodeExpansion" // support volume expansion for node | ||
CapVolumeLimits Capability = "volumeLimits" // support volume limits (can be *very* slow) | ||
CapNodeIndependentVolume Capability = "nodeIndependentVolume" // support node independent volume (unlike hostpath) |
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.
How about calling it "singleNodeVolume"? Then multi-node tests are enabled by default.
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.
it would be better, I thought that kind of thing to not change all drivers but couldn't find a good name to feel it's ability not disability :)
…ndent volume for the drivers that does not support node independent volumes, like hostpath Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
b8a4b4f
to
f0aa13c
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, mucahitkurt 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 |
@@ -155,7 +155,8 @@ const ( | |||
CapRWX Capability = "RWX" // support ReadWriteMany access modes | |||
CapControllerExpansion Capability = "controllerExpansion" // support volume expansion for controller | |||
CapNodeExpansion Capability = "nodeExpansion" // support volume expansion for node | |||
CapVolumeLimits = "volumeLimits" // support volume limits (can be *very* slow) | |||
CapVolumeLimits Capability = "volumeLimits" // support volume limits (can be *very* slow) | |||
CapSingleNodeVolume Capability = "singleNodeVolume" // support volume that can run on single node (like hostpath) |
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.
That can only run on a single node, right?
A network-attached storage system also provides volumes that "can run on a single node"...
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.
Correct
…-upstream-release-1.15 Automated cherry pick of #82678: skip e2e tests that run on multi node cluster and require
…-upstream-release-1.16 Automated cherry pick of #82678: skip e2e tests that run on multi node cluster and require
What type of PR is this?
/kind cleanup
/sig storage
What this PR does / why we need it:
Skip e2e tests that run on multi node cluster and require node independent volume for the drivers that don't support node independent volumes, like hostpath.
Which issue(s) this PR fixes:
Fixes #82675
Special notes for your reviewer:
I added a new capability as
CapNodeIndependentVolume
and set this true all csi and in tree test drivers other than hostpath, local and emptydir.Currently we need to make these tests off for only csi hostpath driver's tests, I'm open to a more simple solution.
cc @msau42
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: