-
Notifications
You must be signed in to change notification settings - Fork 6
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
CSI Node Driver Failure Test Script #121
Conversation
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
995e610
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.
You might want to address my comment- don't know. Thanks. Tom
# failPodsInNS will fail the pods for a specific namespace by patching it with an unknown driver image | ||
failPodsInNS() { | ||
ns=$namespace | ||
pods=$(getRunningPods) |
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.
Since you want pods in a specific namespace, shouldn't getRunningPods take an argument of the namespace to filter by? With many of our tests in podmon, the pod names are the same, e.g. pmtv1/podmontest-0, pmtv2/podmontest-0, ... I don't know if you will have that problem or not- your discretion.
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.
Hi @rbo54, the getRunningPods function does take in the namespace as an argument
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.
My mistake. Thanks.
c06545f
c06545f
to
c1f28ff
Compare
c1f28ff
to
c06545f
Compare
Description
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
monx.sh
onprotect-driver-pod
branch that contains functionality to taint worker node on csi driver pod failure