Skip to content

Commit

Permalink
Merge pull request #47907 from ayushpatil2122/patch-2
Browse files Browse the repository at this point in the history
Update garbage-collection.md
  • Loading branch information
k8s-ci-robot authored Sep 14, 2024
2 parents c43780d + 5680361 commit 05ba1a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/en/docs/concepts/architecture/garbage-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,8 @@ until disk usage reaches the `LowThresholdPercent` value.
As a beta feature, you can specify the maximum time a local image can be unused for,
regardless of disk usage. This is a kubelet setting that you configure for each node.

To configure the setting, enable the `ImageMaximumGCAge`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the kubelet,
and also set a value for the `imageMaximumGCAge` field in the kubelet configuration file.
To configure the setting, you need to set a value for the `imageMaximumGCAge`
field in the kubelet configuration file.

The value is specified as a Kubernetes _duration_;
Valid time units for the `imageMaximumGCAge` field in the kubelet configuration file are:
Expand Down

0 comments on commit 05ba1a7

Please sign in to comment.