Skip to content

API changes for Gang termination#107

Merged
unmarshall merged 2 commits into
ai-dynamo:mainfrom
unmarshall:gangterminate
Jul 11, 2025
Merged

API changes for Gang termination#107
unmarshall merged 2 commits into
ai-dynamo:mainfrom
unmarshall:gangterminate

Conversation

@unmarshall

Copy link
Copy Markdown
Collaborator

This PR is a prerequisite for Gang termination. While going over the existing API it was realized that some changes are required before we can implement Gang termination.

Following changes are introduced as part of this PR:

  • TerminationDelay moved out of SchedulingPolicyConfig to now be directly under PodGangSetTemplateSpec.
  • Defaulted TerminationDelay to 30s if not specified.
  • Removed TerminationDelay from scheduler PodGang API type.
  • Added validation for RoleName and adapted validation for TerminationDelay.

* `TerminationDelay` moved out of `SchedulingPolicyConfig` to now be
  directly under `PodGangSetTemplateSpec`
* Defaulted `TerminationDelay` to 30s if not specified.
* Added validation for `RoleName` and adapted validation for `TerminationDelay`.
* Removed `TerminationDelay` from scheduler `PodGang` API type.

Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: Saketh Kalaga <51327242+renormalize@users.noreply.github.com>
@unmarshall unmarshall merged commit b1be700 into ai-dynamo:main Jul 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants