You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/compliance-removing-kubeletconfig.adoc
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,12 @@ status:
57
57
----
58
58
<1> The scan name of the remediation.
59
59
<2> The remediation that was added to the `KubeletConfig` objects.
60
-
+
60
+
+
61
+
[NOTE]
62
+
====
63
+
If the remediation invokes an `evictionHard` kubelet configuration, you must specify all of the `evictionHard` parameters: `memory.available`, `nodefs.available`, `nodefs.inodesFree`, `imagefs.available`, and `imagefs.inodesFree`. If you do not specify all parameters, only the specified parameters are applied and the remediation will not function properly.
64
+
====
65
+
61
66
. Remove the remediation:
62
67
63
68
.. Set `apply` to false for the remediation object:
Copy file name to clipboardExpand all lines: modules/nodes-nodes-garbage-collection-configuring.adoc
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,26 +104,28 @@ spec:
104
104
nodefs.inodesFree: "1m30s"
105
105
imagefs.available: "1m30s"
106
106
imagefs.inodesFree: "1m30s"
107
-
evictionHard:
107
+
evictionHard: <6>
108
108
memory.available: "200Mi"
109
109
nodefs.available: "5%"
110
110
nodefs.inodesFree: "4%"
111
111
imagefs.available: "10%"
112
112
imagefs.inodesFree: "5%"
113
-
evictionPressureTransitionPeriod: 0s <6>
114
-
imageMinimumGCAge: 5m <7>
115
-
imageGCHighThresholdPercent: 80 <8>
116
-
imageGCLowThresholdPercent: 75 <9>
113
+
evictionPressureTransitionPeriod: 0s <7>
114
+
imageMinimumGCAge: 5m <8>
115
+
imageGCHighThresholdPercent: 80 <9>
116
+
imageGCLowThresholdPercent: 75 <10>
117
117
----
118
118
<1> Name for the object.
119
119
<2> Selector label.
120
-
<3> Type of eviction: `EvictionSoft` and `EvictionHard`.
120
+
<3> Type of eviction: `evictionSoft` or `evictionHard`.
121
121
<4> Eviction thresholds based on a specific eviction trigger signal.
122
122
<5> Grace periods for the soft eviction. This parameter does not apply to `eviction-hard`.
123
-
<6> The duration to wait before transitioning out of an eviction pressure condition.
124
-
<7> The minimum age for an unused image before the image is removed by garbage collection.
125
-
<8> The percent of disk usage (expressed as an integer) which triggers image garbage collection.
126
-
<9> The percent of disk usage (expressed as an integer) to which image garbage collection attempts to free.
123
+
<6> Eviction thresholds based on a specific eviction trigger signal.
124
+
For `evictionHard` you must specify all of these parameters. If you do not specify all parameters, only the specified parameters are applied and the garbage collection will not function properly.
125
+
<7> The duration to wait before transitioning out of an eviction pressure condition.
126
+
<8> The minimum age for an unused image before the image is removed by garbage collection.
127
+
<9> The percent of disk usage (expressed as an integer) that triggers image garbage collection.
128
+
<10> The percent of disk usage (expressed as an integer) that image garbage collection attempts to free.
Copy file name to clipboardExpand all lines: modules/nodes-nodes-garbage-collection-containers.adoc
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,11 @@ a| * `nodefs.available`
34
34
| The available disk space or inodes on the node root file system, `nodefs`, or image file system, `imagefs`.
35
35
|===
36
36
37
+
[NOTE]
38
+
====
39
+
For `evictionHard` you must specify all of these parameters. If you do not specify all parameters, only the specified parameters are applied and the garbage collection will not function properly.
40
+
====
41
+
37
42
If a node is oscillating above and below a soft eviction threshold, but not exceeding its associated grace period, the corresponding node would constantly oscillate between `true` and `false`. As a consequence, the scheduler could make poor scheduling decisions.
38
43
39
44
To protect against this oscillation, use the `eviction-pressure-transition-period` flag to control how long {product-title} must wait before transitioning out of a pressure condition. {product-title} will not set an eviction threshold as being met for the specified pressure condition for the period specified before toggling the condition back to false.
0 commit comments