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/microshift-low-latency-config-yaml.adoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ kubelet: <1>
44
44
memory.available: "100Mi" # <9>
45
45
nodefs.available: "10%" # <10>
46
46
nodefs.inodesFree: "5%" # <11>
47
-
evictionPressureTransitionPeriod: 0s
47
+
evictionPressureTransitionPeriod: 5m <12>
48
48
# ...
49
49
----
50
50
<1> If you change the CPU or memory managers in the kubelet configuration, you must remove files that cache the previous configuration. Restart the host to remove them automatically, or manually remove the `/var/lib/kubelet/cpu_manager_state` and `/var/lib/kubelet/memory_manager_state` files.
@@ -58,6 +58,7 @@ kubelet: <1>
58
58
<9> In this example, the `evictionHard.memory.available` parameter means that the pods are evicted when the available memory of the node drops below 100MiB.
59
59
<10> In this example, the `evictionHard.nodefs.available` parameter means that the pods are evicted when the main filesystem of the node has less than 10% available space.
60
60
<11> In this example, the `evictionHard.nodefs.inodesFree` parameter means that the pods are evicted when more than 15% of the node's main filesystem's inodes are in use.
61
+
<12> For container garbage collection: The duration to wait before transitioning out of an eviction pressure condition. Setting the `evictionPressureTransitionPeriod` parameter to `0` configures the default value of 5 minutes.
61
62
62
63
.Verification
63
64
@@ -68,4 +69,4 @@ kubelet: <1>
68
69
. Tune your operating system. For example, configure and activate a TuneD profile.
69
70
. Optional: Configure automatic enablement of your TuneD profile.
70
71
. Optional: If you are using the x86_64 architecture, you can install {op-system-rt-kernel}.
71
-
. Prepare your {microshift-short} workloads for low latency.
72
+
. Prepare your {microshift-short} workloads for low latency.
Copy file name to clipboardExpand all lines: modules/microshift-low-latency-install-kernelrt-rhel-edge.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ kubelet:
60
60
memory.available: 100Mi
61
61
nodefs.available: 10%
62
62
nodefs.inodesFree: 5%
63
-
evictionPressureTransitionPeriod: 0s
63
+
evictionPressureTransitionPeriod: 5m
64
64
"""
65
65
66
66
[[customizations.files]]
@@ -88,4 +88,4 @@ reboot_after_apply: True
88
88
. Complete the image building process.
89
89
. If you have not completed the previous steps for enabling low latency for your {microshift-short} cluster, do so now. Update the blueprint with the information gathered in those steps.
90
90
. If you have not configured workload partitioning, do so now.
91
-
. Prepare your {microshift-short} workloads for low latency.
91
+
. Prepare your {microshift-short} workloads for low latency.
Copy file name to clipboardExpand all lines: modules/nodes-nodes-garbage-collection-configuring.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ spec:
102
102
nodefs.inodesFree: "4%"
103
103
imagefs.available: "10%"
104
104
imagefs.inodesFree: "5%"
105
-
evictionPressureTransitionPeriod: 0s <7>
105
+
evictionPressureTransitionPeriod: 3m <7>
106
106
imageMinimumGCAge: 5m <8>
107
107
imageGCHighThresholdPercent: 80 <9>
108
108
imageGCLowThresholdPercent: 75 <10>
@@ -115,7 +115,7 @@ spec:
115
115
<5> For container garbage collection: Grace periods for the soft eviction. This parameter does not apply to `eviction-hard`.
116
116
<6> For container garbage collection: Eviction thresholds based on a specific eviction trigger signal.
117
117
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.
118
-
<7> For container garbage collection: The duration to wait before transitioning out of an eviction pressure condition.
118
+
<7> For container garbage collection: The duration to wait before transitioning out of an eviction pressure condition. Setting the `evictionPressureTransitionPeriod` parameter to `0` configures the default value of 5 minutes.
119
119
<8> For image garbage collection: The minimum age for an unused image before the image is removed by garbage collection.
120
120
<9> For image garbage collection: The percent of disk usage (expressed as an integer) that triggers image garbage collection.
121
121
<10> For image garbage collection: 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
+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
@@ -41,4 +41,9 @@ For `evictionHard` you must specify all of these parameters. If you do not spec
41
41
42
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.
43
43
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.
44
+
To protect against this oscillation, use the `evictionpressure-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.
45
+
46
+
[NOTE]
47
+
====
48
+
Setting the `evictionPressureTransitionPeriod` parameter to `0` configures the default value of 5 minutes. You cannot set an eviction pressure transition period to zero seconds.
0 commit comments