-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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 deletePodsOp to scheduler_perf #127471
Add deletePodsOp to scheduler_perf #127471
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
// Namespace the pods should be deleted from. | ||
Namespace string | ||
// Labels used to filter the pods to delete. | ||
Labels map[string]string |
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.
Actually, in which case will we need label selector? (isn't Namespace
enough?)
If you're going to use it to delete Pods created by multiple createPodsOp
, you need to mark Namespace
as optional.
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.
Topology spreading plugin works only within a single namespace. We'll need the unschedulable pods blocked by topology spreading to be is the same namespace as the blocker pods that we'll need to delete.
3dbeb07
to
78ec902
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.
/approve
Leaving LGTM to @sanposhiho
@@ -1333,7 +1333,10 @@ | |||
# Create pods that will be gradually deleted after being scheduled. | |||
- opcode: createPods | |||
countParam: $deletingPods | |||
- opcode: deletePods |
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.
can you improve the description of the test to give some high level idea of the intermediate steps?
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.
Done
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
/hold
for the last comment from Aldo https://github.com/kubernetes/kubernetes/pull/127471/files#r1767326718
LGTM label has been added. Git tree hash: 0174756e1c166181a28e5fbf2921b01e25031df6
|
78ec902
to
287b619
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.
/lgtm
/approve
/unhold
LGTM label has been added. Git tree hash: 2b1ebc1260d7a48848716862805350e3e3fa8c06
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, macsko, sanposhiho 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 |
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We need to be able to begin pod deletion a bit later, especially for queueing hint performance tests. That's why a separate op seems reasonable.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: