Skip to content

Validate subgroup names are lowercase on podgroup creation #948

@itsomri

Description

@itsomri

What you would like to be added?

The scheduler assumes that subgroup names are lowercase: https://github.com/NVIDIA/KAI-Scheduler/blob/main/pkg/scheduler/api/podgroup_info/subgroup_info/factory.go#L127C2-L132C2
This should be validated in the admission of podgroups.

Alternatively, we can reconsider the lowercase subgroup name requirement

Why is this needed?

The lowercase name is a hidden assumption in the scheduler at the moment. We need to either remove this requirement, or validate & document it as an API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions