Skip to content

Commit 428771e

Browse files
committed
node: dra: podresources: KEP-3695 Beta in 1.34
document feature gate changes; clarify documentation. Signed-off-by: Francesco Romani <[email protected]>
1 parent f14c309 commit 428771e

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,12 @@ the NUMA node where these devices are allocated. Also, for NUMA-based machines,
270270
information about memory and hugepages reserved for a container.
271271

272272
Starting from Kubernetes v1.27, the `List` endpoint can provide information on resources
273-
of running pods allocated in `ResourceClaims` by the `DynamicResourceAllocation` API. To enable
274-
this feature `kubelet` must be started with the following flags:
273+
of running pods allocated in `ResourceClaims` by the `DynamicResourceAllocation` API.
274+
Starting from Kubernetes v1.34, this feature is enabled by default.
275+
To disable, `kubelet` must be started with the following flags:
275276

276277
```
277-
--feature-gates=DynamicResourceAllocation=true,KubeletPodResourcesDynamicResources=true
278+
--feature-gates=KubeletPodResourcesDynamicResources=false
278279
```
279280

280281
```gRPC
@@ -414,7 +415,7 @@ will continue working.
414415

415416
### `Get` gRPC endpoint {#grpc-endpoint-get}
416417

417-
{{< feature-state state="alpha" for_k8s_version="v1.27" >}}
418+
{{< feature-state state="beta" for_k8s_version="v1.34" >}}
418419

419420
The `Get` endpoint provides information on resources of a running Pod. It exposes information
420421
similar to those described in the `List` endpoint. The `Get` endpoint requires `PodName`
@@ -428,18 +429,19 @@ message GetPodResourcesRequest {
428429
}
429430
```
430431

431-
To enable this feature, you must start your kubelet services with the following flag:
432+
To disable this feature, you must start your kubelet services with the following flag:
432433

433434
```
434-
--feature-gates=KubeletPodResourcesGet=true
435+
--feature-gates=KubeletPodResourcesGet=false
435436
```
436437

437438
The `Get` endpoint can provide Pod information related to dynamic resources
438-
allocated by the dynamic resource allocation API. To enable this feature, you must
439-
ensure your kubelet services are started with the following flags:
439+
allocated by the dynamic resource allocation API.
440+
Starting from Kubernetes v1.34, this feature is enabled by default.
441+
To disable, `kubelet` must be started with the following flags:
440442

441443
```
442-
--feature-gates=KubeletPodResourcesGet=true,DynamicResourceAllocation=true,KubeletPodResourcesDynamicResources=true
444+
--feature-gates=KubeletPodResourcesDynamicResources=false
443445
```
444446

445447
## Device plugin integration with the Topology Manager

content/en/docs/reference/command-line-tools-reference/feature-gates/KubeletPodResourcesDynamicResources.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ _build:
88
stages:
99
- stage: alpha
1010
defaultValue: false
11-
fromVersion: "1.27"
11+
fromVersion: "1.27"
12+
toVersion: "1.33"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.34"
1216
---
13-
Extend the kubelet's pod resources gRPC endpoint to
14-
to include resources allocated in `ResourceClaims` via `DynamicResourceAllocation` API.
15-
See [resource allocation reporting](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#monitoring-device-plugin-resources) for more details.
16-
with information about the allocatable resources, enabling clients to properly
17-
track the free compute resources on a node.
17+
Extend the kubelet's
18+
[pod resources monitoring gRPC API](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md)
19+
endpoints List and Get to include resources allocated in ResourceClaims
20+
via [Dynamic Resource Allocation](/docs/concepts/scheduling-eviction/dynamic-resource-allocation/).

content/en/docs/reference/command-line-tools-reference/feature-gates/KubeletPodResourcesGet.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.27"
12+
toVersion: "1.33"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.34"
1216
---
1317
Enable the `Get` gRPC endpoint on kubelet's for Pod resources.
1418
This API augments the [resource allocation reporting](/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/#monitoring-device-plugin-resources).

0 commit comments

Comments
 (0)