-
Notifications
You must be signed in to change notification settings - Fork 517
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
Add WaitForGenericK8sObjects measurement #2313
Add WaitForGenericK8sObjects measurement #2313
Conversation
Welcome @kisieland! |
Hi @kisieland. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
b2d1e05
to
6b9c728
Compare
/assign |
6b9c728
to
5004021
Compare
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.
Please add some unit tests - apart from having control over regressions, they would facilitate understanding the measurement's logic as well.
clusterloader2/pkg/measurement/common/wait_for_generic_k8s_object.go
Outdated
Show resolved
Hide resolved
5004021
to
dc3b398
Compare
One more thing - could you add a TL;DR of the measurement to ClusterLoader2's README in https://github.com/kubernetes/perf-tests/blob/master/clusterloader2/README.md#measurement? |
dc3b398
to
2ccad8e
Compare
@tosi3k I've added the unit tests, PTAL |
2ccad8e
to
5165964
Compare
@tosi3k added entry to the README |
The new measurement lists all objects from given resource accesses 'status.conditions' field and compares it with list of expected conditions.
5165964
to
54abd9b
Compare
@tosi3k PTAL |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kisieland, tosi3k 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 |
The new measurement lists all objects from given resource accesses 'status.conditions' field and compares it with list of expected conditions.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds new measurement
WaitForGenericK8sObjects
, whicht:status.conditions
field, which is of type[]metav1.Condition
NodeReady=True
(or failed e.g.PodFailed=True
)Which issue(s) this PR fixes:
N/A
Special notes for your reviewer: