Skip to content

Commit 9d6aca3

Browse files
author
Michael Burke
committed
[enterprise-4.16] OCPBUGS48047 As per the document it does not states that 'evictionPressureTransitionPeriod configuration' cannot be set to '0s'.
1 parent 16e8d22 commit 9d6aca3

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

modules/nodes-nodes-garbage-collection-configuring.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ spec:
102102
nodefs.inodesFree: "4%"
103103
imagefs.available: "10%"
104104
imagefs.inodesFree: "5%"
105-
evictionPressureTransitionPeriod: 0s <7>
105+
evictionPressureTransitionPeriod: 3m <7>
106106
imageMinimumGCAge: 5m <8>
107107
imageGCHighThresholdPercent: 80 <9>
108108
imageGCLowThresholdPercent: 75 <10>
@@ -115,7 +115,7 @@ spec:
115115
<5> For container garbage collection: Grace periods for the soft eviction. This parameter does not apply to `eviction-hard`.
116116
<6> For container garbage collection: Eviction thresholds based on a specific eviction trigger signal.
117117
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.
119119
<8> For image garbage collection: The minimum age for an unused image before the image is removed by garbage collection.
120120
<9> For image garbage collection: The percent of disk usage (expressed as an integer) that triggers image garbage collection.
121121
<10> For image garbage collection: The percent of disk usage (expressed as an integer) that image garbage collection attempts to free.

modules/nodes-nodes-garbage-collection-containers.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ For `evictionHard` you must specify all of these parameters. If you do not spec
4141

4242
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.
4343

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.
49+
====

0 commit comments

Comments
 (0)