Skip to content

scheduler-perf: inline createPods inside createPodGroups and createPodGroups inside createCompositePodGroups. #143281

Description

@iomarsayed

What would you like to be added?

/sig scheduling
/kind cleanup
/wg workload-aware-scheduling

As per discussion: #141706 (comment)
createCompositePodGroups propagates multiple fields/params to createPodGroups which require when creating hierarchies for scheduler-perf tests. Similarly createPodGroups also propagate its PodGroup count to createPods.
Better cleanup would be, to inline createPods inside createPodGroups and also inline createPodGroups inside createCompositePodGroups when it comes to CompositePodGroup cases or standalone PodGroups.

Why this is needed?

This improves test cases configurations, and their readability, and reduces usage of parameters.

Activity

  1. changed the title [-]scheduler-perf: inline createPods inside createPodGroups, and createPodGroups inside createCompositePodGroups.[/-] [+]scheduler-perf: inline createPods inside createPodGroups and createPodGroups inside createCompositePodGroups.[/+] on Oct 21, 2026
  2. added
    sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.
    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.
    wg/workload-aware-schedulingCategorizes issue or PR as relevant to workload-aware scheduling WG.
    on Oct 21, 2026
  3. added
    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.
    on Oct 21, 2026
  4. kubernetes-prow commented on Oct 21, 2026

    @kubernetes-prow
    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.

  5. yashaggarwal85d commented on Oct 25, 2026

    @yashaggarwal85d

    Hi @iomarsayed, are you planning to do this one yourself? If not I'd like to take it. I have a version ready where createCompositePodGroups takes a nested podGroups and createPodGroups takes a nested pods plus podsPerGroup, so countMultiplierParam and the $podGroupsCount / $parentLevel params go away. Happy to change the shape if you and @dom4ha had something else in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.wg/workload-aware-schedulingCategorizes issue or PR as relevant to workload-aware scheduling WG.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions