From fe018ce6d0516c00cecbd9ed7de29928be419913 Mon Sep 17 00:00:00 2001 From: Daniel Chadwick Date: Tue, 22 Apr 2025 10:36:09 -0400 Subject: [PATCH] osdocs14042 fixing OPENSHIFT_HA_VRRP_ID_OFFSET default value --- modules/nw-ipfailover-configuration.adoc | 4 ++-- modules/nw-ipfailover-environment-variables.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/nw-ipfailover-configuration.adoc b/modules/nw-ipfailover-configuration.adoc index 403a8defa442..61081c7c5227 100644 --- a/modules/nw-ipfailover-configuration.adoc +++ b/modules/nw-ipfailover-configuration.adoc @@ -154,7 +154,7 @@ spec: - name: OPENSHIFT_HA_MONITOR_PORT <5> value: "30060" - name: OPENSHIFT_HA_VRRP_ID_OFFSET <6> - value: "0" + value: "10" - name: OPENSHIFT_HA_REPLICA_COUNT <7> value: "2" #Must match the number of replicas in the deployment - name: OPENSHIFT_HA_USE_UNICAST @@ -201,7 +201,7 @@ spec: <3> The number of groups to create for VRRP. If not set, a group is created for each virtual IP range specified with the `OPENSHIFT_HA_VIP_GROUPS` variable. <4> The interface name that IP failover uses to send VRRP traffic. By default, `eth0` is used. <5> The IP failover pod tries to open a TCP connection to this port on each VIP. If connection is established, the service is considered to be running. If this port is set to `0`, the test always passes. The default value is `80`. -<6> The offset value used to set the virtual router IDs. Using different offset values allows multiple IP failover configurations to exist within the same cluster. The default offset is `0`, and the allowed range is `0` through `255`. +<6> The offset value used to set the virtual router IDs. Using different offset values allows multiple IP failover configurations to exist within the same cluster. The default offset is `10`, and the allowed range is `0` through `255`. <7> The number of replicas to create. This must match `spec.replicas` value in IP failover deployment configuration. The default value is `2`. <8> The name of the `iptables` chain to automatically add an `iptables` rule to allow the VRRP traffic on. If the value is not set, an `iptables` rule is not added. If the chain does not exist, it is not created, and Keepalived operates in unicast mode. The default is `INPUT`. <9> The full path name in the pod file system of a script that is run whenever the state changes. diff --git a/modules/nw-ipfailover-environment-variables.adoc b/modules/nw-ipfailover-environment-variables.adoc index 3ecc907593cc..40ddab0041e0 100644 --- a/modules/nw-ipfailover-environment-variables.adoc +++ b/modules/nw-ipfailover-environment-variables.adoc @@ -32,8 +32,8 @@ If your cluster uses the OVN-Kubernetes network plugin, set this value to `br-ex |The list of IP address ranges to replicate. This must be provided. For example, `1.2.3.4-6,1.2.3.9`. |`OPENSHIFT_HA_VRRP_ID_OFFSET` -|`0` -|The offset value used to set the virtual router IDs. Using different offset values allows multiple IP failover configurations to exist within the same cluster. The default offset is `0`, and the allowed range is `0` through `255`. +|`10` +|The offset value used to set the virtual router IDs. Using different offset values allows multiple IP failover configurations to exist within the same cluster. The default offset is `10`, and the allowed range is `0` through `255`. |`OPENSHIFT_HA_VIP_GROUPS` |