Skip to content

Commit 36736d4

Browse files
committed
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 b1573ad. 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`.
1 parent d7627ba commit 36736d4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,15 @@ The kubelet supports the following filesystem partitions:
8585
Kubelet auto-discovers these filesystems and ignores other filesystems. Kubelet
8686
does not support other configurations.
8787

88-
{{<note>}}
89-
Some kubelet garbage collection features are deprecated in favor of eviction.
90-
For a list of the deprecated features, see
91-
[kubelet garbage collection deprecation](/docs/concepts/architecture/garbage-collection/#deprecation).
92-
{{</note>}}
88+
Some kubelet garbage collection features are deprecated in favor of eviction:
89+
90+
| Existing Flag | New Flag | Rationale |
91+
| ------------- | -------- | --------- |
92+
| `--image-gc-high-threshold` | `--eviction-hard` or `--eviction-soft` | existing eviction signals can trigger image garbage collection |
93+
| `--image-gc-low-threshold` | `--eviction-minimum-reclaim` | eviction reclaims achieve the same behavior |
94+
| `--maximum-dead-containers` | | deprecated once old logs are stored outside of container's context |
95+
| `--maximum-dead-containers-per-container` | | deprecated once old logs are stored outside of container's context |
96+
| `--minimum-container-ttl-duration` | | deprecated once old logs are stored outside of container's context |
9397

9498
### Eviction thresholds
9599

0 commit comments

Comments
 (0)