From 36736d44d938da76a84ad3d967ff0653ea7504c9 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Fri, 8 Jul 2022 18:48:54 +0800 Subject: [PATCH] Improve node pressure eviction page There are deprecated kubelet flags related to garbage collection. These flags were listed in the `kubelet-garbage-collection.md` page, which was removed by b1573ad31463dc25ec77cb1cbee7684ae944d7cd. Linking to the `kubelet` reference is not a good solution because users may still get confused what are the specific flags related to this behavior. This PR restores the table with the flags updated according to 1.24 version of `kubelet --help`. --- .../scheduling-eviction/node-pressure-eviction.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md b/content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md index 78835c3a7dd27..a7724c83d9c4a 100644 --- a/content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md +++ b/content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md @@ -85,11 +85,15 @@ The kubelet supports the following filesystem partitions: Kubelet auto-discovers these filesystems and ignores other filesystems. Kubelet does not support other configurations. -{{}} -Some kubelet garbage collection features are deprecated in favor of eviction. -For a list of the deprecated features, see -[kubelet garbage collection deprecation](/docs/concepts/architecture/garbage-collection/#deprecation). -{{}} +Some kubelet garbage collection features are deprecated in favor of eviction: + +| Existing Flag | New Flag | Rationale | +| ------------- | -------- | --------- | +| `--image-gc-high-threshold` | `--eviction-hard` or `--eviction-soft` | existing eviction signals can trigger image garbage collection | +| `--image-gc-low-threshold` | `--eviction-minimum-reclaim` | eviction reclaims achieve the same behavior | +| `--maximum-dead-containers` | | deprecated once old logs are stored outside of container's context | +| `--maximum-dead-containers-per-container` | | deprecated once old logs are stored outside of container's context | +| `--minimum-container-ttl-duration` | | deprecated once old logs are stored outside of container's context | ### Eviction thresholds