Skip to content

OSDOCS-14042: fixing OPENSHIFT_HA_VRRP_ID_OFFSET default value #92459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/nw-ipfailover-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions modules/nw-ipfailover-environment-variables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
|
Expand Down