Skip to content

scheduler-perf: add option to enable api-server initialization - #131149

Merged
k8s-ci-robot merged 4 commits into
kubernetes:masterfrom
saza-ku:enable-api-server-init
Apr 24, 2025
Merged

k8s-ci-robot merged 4 commits into
kubernetes:masterfrom
saza-ku:enable-api-server-init

Conversation

@saza-ku

@saza-ku saza-ku commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind feature
/kind api-change

What this PR does / why we need it:

When you import scheduler-perf to test your own scheduler by importing it, you sometimes want to initialize the target api-server, such as applying crds or some resources.

This PR enables it by adding an option to add a function that is called before scheduler_perf starts.

Which issue(s) this PR fixes:

Fixes #130861

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 2, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Details

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Apr 2, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Hi @saza-ku. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@k8s-ci-robot k8s-ci-robot added area/test sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Apr 2, 2025
@k8s-ci-robot
k8s-ci-robot requested review from AxeZhan and damemi April 2, 2025 04:32
@k8s-triage-robot

Copy link
Copy Markdown

This PR may require API review.

If so, when the changes are ready, complete the pre-review checklist and request an API review.

Status of requested reviews is tracked in the API Review project.

@saza-ku

saza-ku commented Apr 9, 2025

Copy link
Copy Markdown
Contributor Author

/cc @sanposhiho @macsko

@sanposhiho sanposhiho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 9, 2025
@sanposhiho

Copy link
Copy Markdown
Member

/remote-kind api-change

@sanposhiho

Copy link
Copy Markdown
Member

/sig scheduling

@k8s-ci-robot k8s-ci-robot added the sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. label Apr 9, 2025
@sanposhiho

Copy link
Copy Markdown
Member

/remove-kind api-change

@k8s-ci-robot k8s-ci-robot removed the kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API label Apr 9, 2025

@sanposhiho sanposhiho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looking good

@saza-ku

saza-ku commented Apr 10, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@saza-ku

saza-ku commented Apr 12, 2025

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@saza-ku

saza-ku commented Apr 12, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@sanposhiho sanposhiho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sanposhiho, saza-ku

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2025
@sanposhiho

Copy link
Copy Markdown
Member

leave /lgtm to @macsko

@macsko

macsko commented Apr 14, 2025

Copy link
Copy Markdown
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 14, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: f5a0af2cad94c663c525020d61e258da33e2a89e

@k8s-ci-robot
k8s-ci-robot merged commit ec40244 into kubernetes:master Apr 24, 2025
@k8s-ci-robot k8s-ci-robot added this to the v1.34 milestone Apr 24, 2025
mhan8796 pushed a commit to mhan8796/kubernetes that referenced this pull request Jun 27, 2026
scheduler-perf: add option to enable api-server initialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scheduler-perf: add API to enable api-server initialization

5 participants