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/nodes-nodes-garbage-collection-configuring.adoc
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ As an administrator, you can configure how {product-title} performs garbage coll
16
16
17
17
You can configure any combination of the following:
18
18
19
-
* soft eviction for containers
20
-
* hard eviction for containers
21
-
* eviction for images
19
+
* Soft eviction for containers
20
+
* Hard eviction for containers
21
+
* Eviction for images
22
22
23
-
For soft container eviction you can also configure a grace period before eviction.
23
+
For the soft container eviction you can also configure a grace period before the eviction.
24
24
25
25
.Prerequisites
26
26
@@ -76,6 +76,11 @@ metadata:
76
76
77
77
. Create a custom resource (CR) for your configuration change.
78
78
+
79
+
[IMPORTANT]
80
+
====
81
+
If there is one file system, or if `/var/lib/kubelet` and `/var/lib/containers/` are in the same file system, the settings with the highest values trigger evictions, as those are met first. The file system triggers the eviction.
82
+
====
83
+
+
79
84
.Sample configuration for a container garbage collection CR:
80
85
[source,yaml]
81
86
----
@@ -116,7 +121,7 @@ spec:
116
121
<3> Type of eviction: `EvictionSoft` and `EvictionHard`.
117
122
<4> Eviction thresholds based on a specific eviction trigger signal.
118
123
<5> Grace periods for the soft eviction. This parameter does not apply to `eviction-hard`.
119
-
<6> The duration to wait before transitioning out of an eviction pressure condition
124
+
<6> The duration to wait before transitioning out of an eviction pressure condition.
120
125
<7> The minimum age for an unused image before the image is removed by garbage collection.
121
126
<8> The percent of disk usage (expressed as an integer) which triggers image garbage collection.
122
127
<9> The percent of disk usage (expressed as an integer) to which image garbage collection attempts to free.
0 commit comments