Skip to content

Pod scheduling readiness support in Cluster Autoscaler #5279

Closed
@x13n

Description

@x13n

Per the suggestion on last SIG meeting, opening an issue to start a discussion.

Which component are you using?:

cluster-autoscaler

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

This isn't exactly a specific feature I have in mind, I want to start a discussion on what to do in CA about Pod Scheduling Readiness KEP (kubernetes/enhancements#3522). It introduces a way for kube-scheduler to postpone scheduling until certain additional criteria are met for the pod. I think CA has two options on how to approach this feature:

  • Pretend these pods do not exist (probably a no-op in CA code, but it would be good to check)
  • Detect such pods and potentially trigger scale-up to ensure they can schedule once ready

Describe the solution you'd like.:

I'm leaning towards just ignoring such pods in CA. The downside of detecting is that they may never actually become ready, which would lead to waste of cluster resources.

Describe any alternative solutions you've considered.:

Described both above.

Additional context.:

https://github.com/kubernetes/enhancements/tree/master/keps/sig-scheduling/3521-pod-scheduling-readiness

CC @Huang-Wei @ahg-g in case you have an opinion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cluster-autoscalerkind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions