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
This means by default, the scheduler will schedule pods that request 9 Gi of
576
576
memory to that node.
577
577
578
-
If you want to turn on eviction so that eviction is triggered when the node observes that available memory falls below 10% of capacity for 30 seconds, or
579
-
immediately when it falls below 5% of capacity, you need the scheduler to see allocatable as 8Gi. Therefore, ensure your system reservation covers the greater of your eviction thresholds.
578
+
If you want to turn on eviction so that eviction is triggered when the node
579
+
observes that available memory falls below 10% of capacity for 30 seconds, or
580
+
immediately when it falls below 5% of capacity, you need the scheduler to see
581
+
allocatable as 8Gi. Therefore, ensure your system reservation covers the greater
582
+
of your eviction thresholds.
580
583
581
584
----
582
585
capacity = 10 Gi
583
-
eviction-threshold = 10 Gi * .05 = .5 Gi
584
-
system-reserved = (10Gi * .01) + eviction-threshold = 1.5 Gi
585
-
allocatable = capacity - system-reserved = 8.5 Gi
586
+
eviction-threshold = 10 Gi * .1 = 1 Gi
587
+
system-reserved = (10Gi * .1) + eviction-threshold = 2 Gi
0 commit comments