From 038b6e1ca7841ca15b4f2fe481ca12b7dd168cb1 Mon Sep 17 00:00:00 2001 From: Amir Alavi Date: Tue, 7 Jun 2022 10:00:07 -0400 Subject: [PATCH] nodeFit: fix docs spacing for placement of the field --- README.md | 2 +- examples/topology-spread-constraint.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9d9b14a6..5edefaac1 100644 --- a/README.md +++ b/README.md @@ -751,6 +751,7 @@ strategies: "LowNodeUtilization": enabled: true params: + nodeFit: true nodeResourceUtilizationThresholds: thresholds: "cpu": 20 @@ -760,7 +761,6 @@ strategies: "cpu": 50 "memory": 50 "pods": 50 - nodeFit: true ``` Note that node fit filtering references the current pod spec, and not that of it's owner. diff --git a/examples/topology-spread-constraint.yaml b/examples/topology-spread-constraint.yaml index a7d39abe1..687a3f379 100644 --- a/examples/topology-spread-constraint.yaml +++ b/examples/topology-spread-constraint.yaml @@ -4,4 +4,5 @@ strategies: "RemovePodsViolatingTopologySpreadConstraint": enabled: true params: + nodeFit: true includeSoftConstraints: true # Include 'ScheduleAnyways' constraints