website/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/kubelet-pod-resources-get-a...

29 lines
831 B
Markdown

---
title: KubeletPodResourcesGetAllocatable
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.21"
toVersion: "1.22"
- stage: beta
defaultValue: true
fromVersion: "1.23"
toVersion: "1.27"
- stage: stable
defaultValue: true
fromVersion: "1.28"
---
<!--
Enable the kubelet's pod resources
`GetAllocatableResources` functionality. This API augments the
[resource allocation reporting](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#monitoring-device-plugin-resources)
-->
启用 kubelet 的 Pod 资源的 `GetAllocatableResources` 功能。
此 API 增强了[资源分配报告](/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#monitoring-device-plugin-resources)。