kubernetes-sigs / kueue

Kubernetes-native Job Queueing
https://kueue.sigs.k8s.io
Apache License 2.0
1.49k stars 268 forks source link

MVP support for arbitrary resizing a StatefulSet (investigate if feasible) #3279

Open mimowo opened 1 month ago

mimowo commented 1 month ago

What would you like to be added:

Investigate if we can achieve resizing of a stateful set based on PodGroups.

In the MVP approach it is ok to recreate the entire PodGroup.

This is a follow up to https://github.com/kubernetes-sigs/kueue/issues/2717.

Long-term we may want to support smooth resizes, but it probably will require https://github.com/kubernetes-sigs/kueue/issues/77.

Why is this needed:

To support use-cases for resizing StatefulSets.

mimowo commented 1 month ago

/cc @mwielgus @vladikkuzn @mbobrovskyi @alculquicondor

mbobrovskyi commented 3 weeks ago

/assign

mimowo commented 2 weeks ago

The very MVP of scaling-down and up via 0 is covered already with https://github.com/kubernetes-sigs/kueue/pull/3487. Keeping this open to investigate arbitrary scaling x->y, where xy.

mimowo commented 2 weeks ago

/retitle MVP support for arbitrary resizing a StatefulSet (investigate if feasible)

mbobrovskyi commented 4 days ago

/unassign