Skip to content

Commit 067648a

Browse files
committed
bump ImageMaximumGCAge KEP to beta
Signed-off-by: Peter Hunt <[email protected]>
1 parent d665f92 commit 067648a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

content/en/docs/concepts/architecture/garbage-collection.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ until disk usage reaches the `LowThresholdPercent` value.
141141

142142
{{< feature-state feature_gate_name="ImageMaximumGCAge" >}}
143143

144-
As an alpha feature, you can specify the maximum time a local image can be unused for,
144+
As a beta feature, you can specify the maximum time a local image can be unused for,
145145
regardless of disk usage. This is a kubelet setting that you configure for each node.
146146

147147
To configure the setting, enable the `ImageMaximumGCAge`
@@ -151,6 +151,13 @@ and also set a value for the `ImageMaximumGCAge` field in the kubelet configurat
151151
The value is specified as a Kubernetes _duration_; for example, you can set the configuration
152152
field to `3d12h`, which means 3 days and 12 hours.
153153

154+
{{< note >}}
155+
This feature does not track image usage across kubelet restarts. If the kubelet
156+
is restarted, the tracked image age is reset, causing the kubelet to wait the full
157+
`ImageMaximumGCAge` duration before qualifying images for garbage collection
158+
based on image age.
159+
{{< /note>}}
160+
154161
### Container garbage collection {#container-image-garbage-collection}
155162

156163
The kubelet garbage collects unused containers based on the following variables,

content/en/docs/reference/command-line-tools-reference/feature-gates/image-maximum-gc-age.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ _build:
88
stages:
99
- stage: alpha
1010
defaultValue: false
11-
fromVersion: "1.29"
11+
fromVersion: "1.29"
12+
toVersion: "1.29"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.30"
1216
---
1317
Enables the kubelet configuration field `imageMaximumGCAge`, allowing an administrator to specify the age after which an image will be garbage collected.

0 commit comments

Comments
 (0)