Skip to content

[Question] Can startupPolicy set as LeaderReady meet the requirement of gang scheduling? #379

Open
@JesseStutler

Description

@JesseStutler

Hi community, currently I'm researching the lws, I found that there is a field called startUpPolicy in lws spec. Currently, the sample yamls of lws in this repo have not written this field. Is there such a scenario? I am wondering if the Leader Pod needs to run first, and then create worker statefulset, whether the Leader Pod + n Workers Pods (a PodGroup) are needed to meet gang scheduling. Imagine that if the cluster resources are limited at this time and the gang cannot satisfy, then the workers pods cannot be scheduled, but the Leader Pod has already occupied the resources in the cluster. So I am wondering whether this scenario conflicts with the original intention of gang, or whether this scenario still requires gang scheduling? Hope to get some feedback, thanks!

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions