Skip to content

Commit

Permalink
Allow bumping OOMs by 0% extra (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
aantn authored Jul 24, 2024
1 parent 3991e7d commit 2fd16a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robusta_krr/strategies/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2fd16a3

Please sign in to comment.