title: Extend kubelet pod resource assignment endpoint to return allocatable resources
kep-number: 2403
authors:
  - "@fromanirh"
  - "@alexeyperevalov"
  - "@swatisehgal"
owning-sig: sig-node
participating-sigs: []
status: implementable
creation-date: "2021-02-02"
last-updated: "2021-09-02"
reviewers:
  - "@derekwaynecarr"
  - "@renaudwastaken"
  - "@klueska"
approvers:
  - "@sig-node-leads"
see-also:
  - "keps/sig-node/606-compute-device-assignment/"
  - "keps/sig-node/2043-pod-resource-concrete-assigments/"
replaces: []

# The target maturity stage in the current dev cycle for this KEP.
stage: beta

# The most recent milestone for which work toward delivery of this KEP has been
# done. This can be the current (upcoming) milestone, if it is being actively
# worked on.
latest-milestone: "v1.23"

# The milestone at which this feature was, or is targeted to be, at each stage.
milestone:
  alpha: "v1.21"
  beta: "v1.23"
  stable: "v1.24"

# The following PRR answers are required at alpha release
# List the feature gate name and the components for which it must be enabled
feature-gates:
  - name: "KubeletPodResourcesGetAllocatable"
    components:
      - kubelet
disable-supported: false

# The following PRR answers are required at beta release
metrics:
  - pod_resources_endpoint_requests_total
  - pod_resources_endpoint_requests_list
  - pod_resources_endpoint_requests_get_allocatable
  - pod_resources_endpoint_errors_list
  - pod_resources_endpoint_errors_get_allocatable
