Skip to content

Scheduler should use node Allocatable instead of Capacity #18848

Closed
@timstclair

Description

We added a new field to NodeStatus: Allocatable. Allocatable represents the schedulable resources on a node, while capacity is the total resources on a node (including resources claimed by non-k8s workloads, such as kernel usage, container runtime, and other native processes). More details here: https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/node-allocatable.md

Allocatable defaults to Capacity when not set, so this change will be backwards compatible with Kubelets that don't set Allocatable.

/cc @dchen1107 @davidopp

Metadata

Assignees

Labels

area/isolationpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions