From b4fce7683be2b906d8256f37f7d8872c07f5ad26 Mon Sep 17 00:00:00 2001 From: Robusta Runner Date: Thu, 27 Jun 2024 20:58:17 +0300 Subject: [PATCH] Fixes #305 --- robusta_krr/strategies/simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robusta_krr/strategies/simple.py b/robusta_krr/strategies/simple.py index c56e6ecb..fa9cd777 100644 --- a/robusta_krr/strategies/simple.py +++ b/robusta_krr/strategies/simple.py @@ -41,7 +41,7 @@ class SimpleStrategySettings(StrategySettings): description="Whether to bump the memory when OOMKills are detected (experimental).", ) oom_memory_buffer_percentage: float = pd.Field( - 25, gt=0, description="What percentage to increase the memory when there are OOMKill events." + 25, ge=0, description="What percentage to increase the memory when there are OOMKill events." ) def calculate_memory_proposal(self, data: PodsTimeData, max_oomkill: float = 0) -> float: