node: memmgr: docs: Kubelet Memory Manager GA graduation

Docs update for the Kubelet Memory Manager GA graduation
Issue: https://github.com/kubernetes/enhancements/issues/1769

Signed-off-by: Francesco Romani <fromani@redhat.com>
pull/48494/head
Francesco Romani 2024-11-05 16:46:08 +01:00
parent 9779ecf263
commit d6a0b39c20
3 changed files with 10 additions and 3 deletions

View File

@ -13,6 +13,10 @@ stages:
- stage: beta - stage: beta
defaultValue: true defaultValue: true
fromVersion: "1.22" fromVersion: "1.22"
toVersion: "1.31"
- stage: stable
defaultValue: true
fromVersion: "1.32"
--- ---
Allows setting memory affinity for a container based on Allows setting memory affinity for a container based on
NUMA topology. NUMA topology.

View File

@ -426,7 +426,6 @@ LoggingBetaOptions=true|false (BETA - default=true)<br/>
MatchLabelKeysInPodAffinity=true|false (ALPHA - default=false)<br/> MatchLabelKeysInPodAffinity=true|false (ALPHA - default=false)<br/>
MatchLabelKeysInPodTopologySpread=true|false (BETA - default=true)<br/> MatchLabelKeysInPodTopologySpread=true|false (BETA - default=true)<br/>
MaxUnavailableStatefulSet=true|false (ALPHA - default=false)<br/> MaxUnavailableStatefulSet=true|false (ALPHA - default=false)<br/>
MemoryManager=true|false (BETA - default=true)<br/>
MemoryQoS=true|false (ALPHA - default=false)<br/> MemoryQoS=true|false (ALPHA - default=false)<br/>
MultiCIDRServiceAllocator=true|false (ALPHA - default=false)<br/> MultiCIDRServiceAllocator=true|false (ALPHA - default=false)<br/>
MutatingAdmissionPolicy=true|false (ALPHA - default=false)<br/> MutatingAdmissionPolicy=true|false (ALPHA - default=false)<br/>

View File

@ -6,7 +6,7 @@ reviewers:
- derekwaynecarr - derekwaynecarr
content_type: task content_type: task
min-kubernetes-server-version: v1.21 min-kubernetes-server-version: v1.32
weight: 410 weight: 410
--- ---
@ -217,13 +217,17 @@ display an error.
Here is an example of a correct configuration: Here is an example of a correct configuration:
```shell ```shell
--feature-gates=MemoryManager=true
--kube-reserved=cpu=4,memory=4Gi --kube-reserved=cpu=4,memory=4Gi
--system-reserved=cpu=1,memory=1Gi --system-reserved=cpu=1,memory=1Gi
--memory-manager-policy=Static --memory-manager-policy=Static
--reserved-memory '0:memory=3Gi;1:memory=2148Mi' --reserved-memory '0:memory=3Gi;1:memory=2148Mi'
``` ```
Prior to Kubernetes 1.32, you also need to add
```shell
--feature-gates=MemoryManager=true
```
Let us validate the configuration above: Let us validate the configuration above:
1. `kube-reserved + system-reserved + eviction-hard(default) = reserved-memory(0) + reserved-memory(1)` 1. `kube-reserved + system-reserved + eviction-hard(default) = reserved-memory(0) + reserved-memory(1)`