@@ -66,7 +66,7 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
66
66
## Summary
67
67
68
68
Add an option ImageMaximumGCAge, which allows an admin to specify a time after which unused images will be garbage collected
69
- by the Kubelet, regardless of disk usage.
69
+ by the Kubelet, regardless of disk usage, as well as an associated feature gate to toggle the behavior .
70
70
71
71
## Motivation
72
72
@@ -81,7 +81,7 @@ through the disk usage condition, they will needlessly occupy disk space before
81
81
82
82
### Goals
83
83
84
- - Introduce an option to the Kubelet ImageMaximumGCAge
84
+ - Introduce an option to the Kubelet ImageMaximumGCAge and a feature gate ImageMaximumGCAge
85
85
86
86
### Non-Goals
87
87
@@ -115,6 +115,8 @@ The proposal of this KEP is to add an option to the KubeletConfiguration object
115
115
116
116
To begin, this option will be set to 0, which will be interpreted as "disabled". In the future, a more reasonable default may be chosen.
117
117
118
+ This option will only be adhered to if the feature gate ImageMaximumGCAge is configured for the Kubelet.
119
+
118
120
### User Stories (Optional)
119
121
120
122
#### Story 1
@@ -238,18 +240,15 @@ Version skew is not a worry assuming the internal Kubelet changes are synchroniz
238
240
239
241
###### How can this feature be enabled / disabled in a live cluster?
240
242
241
- - [ ] Feature gate (also fill in values in ` kep.yaml ` )
242
- - Feature gate name:
243
- - Components depending on the feature gate:
244
- - [x ] Other
243
+ - [x ] Feature gate (also fill in values in ` kep.yaml ` )
244
+ - Feature gate name: ImageGCMaximumAge
245
+ - Components depending on the feature gate: kubelet
246
+ - [ ] Other
245
247
- Describe the mechanism:
246
- - Kubelet configuration field
247
248
- Will enabling / disabling the feature require downtime of the control
248
249
plane?
249
- - No, it's a kubelet only configuration
250
250
- Will enabling / disabling the feature require downtime or reprovisioning
251
251
of a node?
252
- - Potentially, to restart the Kubelet.
253
252
254
253
###### Does enabling the feature change any default behavior?
255
254
0 commit comments