Skip to content

Replica resize of an admitted InferenceService bounces through suspend/requeue (adopt Kueue elastic workloads) #8

Description

@Defilan

Replica changes on an admitted, running InferenceService currently trigger a full suspend/requeue bounce: the PodSet count comes from spec.replicas, so scaling 2 to 3 makes the job non-equivalent to its Workload, and the jobframework suspends the service, deletes the old Workload, creates a new one, and re-admits. Scale-to-zero is graceful (Workload deactivation), but N to M with both nonzero is a routine serving operation that becomes a service interruption.

Kueue's mechanism for this is elastic workloads / workload slices (ElasticJobsViaWorkloadSlices, alpha as of v0.19.0, plus the kueue.x-k8s.io/elastic-job annotation and the ElasticWorkloadNameProvider hook). Adopt it once it matures, or document a resize procedure until then.

Until fixed this is a documented limitation (see the issue #2 PR body).

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