From ce46585ef5140531bf90389752953aa3c13d2ee3 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Wed, 3 Aug 2022 20:48:28 +0800 Subject: [PATCH] Update content/en/docs/reference/command-line-tools-reference/feature-gates.md Co-authored-by: Tim Bannister --- .../configuration/manage-resources-containers.md | 13 ++++++++++--- .../command-line-tools-reference/feature-gates.md | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/content/en/docs/concepts/configuration/manage-resources-containers.md b/content/en/docs/concepts/configuration/manage-resources-containers.md index ab73213cb2..7975563563 100644 --- a/content/en/docs/concepts/configuration/manage-resources-containers.md +++ b/content/en/docs/concepts/configuration/manage-resources-containers.md @@ -306,8 +306,15 @@ as you like. {{< /tabs >}} The kubelet can measure how much local storage it is using. It does this provided -that you have set up the node using one of the supported configurations - for local ephemeral storage. +that you have set up the node using one of the supported configurations for local +ephemeral storage. + +- the `LocalStorageCapacityIsolation` + [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) + is enabled (the feature is on by default), and you have set up the node using one + of the supported configurations for local ephemeral storage. +- Quotas are faster and more accurate than directory scanning. The + `LocalStorageCapacityIsolationFSQuotaMonitoring` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled (the feature is on by default), If you have a different configuration, then the kubelet does not apply resource limits for ephemeral local storage. @@ -441,7 +448,7 @@ that file but the kubelet does not categorize the space as in use. {{% /tab %}} {{% tab name="Filesystem project quota" %}} -{{< feature-state for_k8s_version="v1.15" state="alpha" >}} +{{< feature-state for_k8s_version="v1.25" state="beta" >}} Project quotas are an operating-system level feature for managing storage use on filesystems. With Kubernetes, you can enable project diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates.md b/content/en/docs/reference/command-line-tools-reference/feature-gates.md index be464bfab3..cd477a9ca8 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates.md @@ -135,7 +135,7 @@ different Kubernetes components. | `KubeletPodResourcesGetAllocatable` | `false` | Alpha | 1.21 | 1.22 | | `KubeletPodResourcesGetAllocatable` | `true` | Beta | 1.23 | | | `KubeletTracing` | `false` | Alpha | 1.25 | | -| `LocalStorageCapacityIsolationFSQuotaMonitoring` | `false` | Alpha | 1.15 | | +| `LocalStorageCapacityIsolationFSQuotaMonitoring` | `false` | Alpha | 1.15 | 1.24 | | `LocalStorageCapacityIsolationFSQuotaMonitoring` | `true` | Beta | 1.25 | | | `LogarithmicScaleDown` | `false` | Alpha | 1.21 | 1.21 | | `LogarithmicScaleDown` | `true` | Beta | 1.22 | |