consider this:
Reviewed-by: David Riley <[email protected]>

On 6/2/26 12:03 PM, Daniel Kral wrote:
The section config writer does order the options slightly different, so
adapt these to make the configuration examples deterministic.

Signed-off-by: Daniel Kral<[email protected]>
---
changes since v1:
- new

  ha-manager.adoc | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ha-manager.adoc b/ha-manager.adoc
index 479b539..802e5b9 100644
--- a/ha-manager.adoc
+++ b/ha-manager.adoc
@@ -763,13 +763,13 @@ The above commands create the following rules in the 
rules configuration file:
  .Node Affinity Rules Configuration Example (`/etc/pve/ha/rules.cfg`)
  ----
  node-affinity: ha-rule-vm100
-        resources vm:100
          nodes node1
+        resources vm:100
          strict 1
node-affinity: priority-cascade
-        resources vm:200,ct:300
          nodes node1:2,node2:1,node3:1,node4
+        resources vm:200,ct:300
  ----
Node Affinity Rule Properties
@@ -832,12 +832,12 @@ The above commands created the following rules in the 
rules configuration file:
  .Resource Affinity Rules Configuration Example (`/etc/pve/ha/rules.cfg`)
  ----
  resource-affinity: keep-together
-        resources vm:100,vm:200
          affinity positive
+        resources vm:100,vm:200
resource-affinity: keep-separate
-        resources vm:200,ct:300
          affinity negative
+        resources vm:200,ct:300
  ----
Interactions between Positive and Negative Resource Affinity Rules



Reply via email to