Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atomic startup for main containers in a JobSet #498

Open
danielvegamyhre opened this issue Apr 5, 2024 · 3 comments
Open

Atomic startup for main containers in a JobSet #498

danielvegamyhre opened this issue Apr 5, 2024 · 3 comments
Assignees

Comments

@danielvegamyhre
Copy link
Contributor

danielvegamyhre commented Apr 5, 2024

What would you like to be added:

Synchronized (all or nothing) startup for main containers in a JobSet.

Why is this needed:

Many users of managed K8s services on cloud providers make use of NAP (node auto provisioning) which creates node pools for pending/unschedulable pods, based on those pods requirements (i.e., CPU/memory requirements, GPU/TPU requirements, etc).

Since node pool provisioning takes a variable amount of time, users are running into issues where the first slice finishes provisioning and pods land there and begin running, but eventually timeout before the other slices all finish provisioning and pods land there and become ready.

Up til this point, this gap (lack of synchronized container startup) has been masked by scheduling happening fast enough that the timeouts in other parts of the stack (LibTPU, ML Frameworks, etc) don't get hit.

However, in this case the variability in slice provisioning time causes the timeouts to be hit.

One improvement to this will come with atomic scale ups via ProvisioningRequest down the road. However, that will just continue to mask/hide the lack of synchronized startup for a bit longer, and at large scales where scheduling all the pods takes substantial time, we still need synchronized startup.

@alculquicondor
Copy link

/retitle Atomic startup for main containers in a JobSet

@k8s-ci-robot k8s-ci-robot changed the title Group Scheduling support in JobSet Atomic startup for main containers in a JobSet Apr 10, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 9, 2024
@danielvegamyhre
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 15, 2024
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

No branches or pull requests

4 participants