mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-25 18:23:05 +01:00
k3s_server: add kube_vip_bgp_peers parameter (#599)
With the kube_vip_bgp_peers it is possible to define
multiple BGP peer ASN & address pairs for kube-vip.
Sample:
```
kube_vip_bgp_peers:
- peer_address: 192.168.128.10
peer_asn: 64512
- peer_address: 192.168.128.11
peer_asn: 64512
- peer_address: 192.168.128.12
peer_asn: 64512
```
It is possible to merge further lists with kube_vip_bgp_peers__*
parameters.
Sample:
```
kube_vip_bgp_peers__extra:
- peer_address: 192.168.128.10
peer_asn: 64512
kube_vip_bgp_peers:
- peer_address: 192.168.128.11
peer_asn: 64512
- peer_address: 192.168.128.12
peer_asn: 64512
```
This will result in the following list of BGP peer ASN & address pairs:
```
- peer_address: 192.168.128.10
peer_asn: 64512
- peer_address: 192.168.128.11
peer_asn: 64512
- peer_address: 192.168.128.12
peer_asn: 64512
```
Signed-off-by: Christian Berendt <berendt@osism.tech>
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
committed by
GitHub
parent
11f9505460
commit
4c0b1ee8f3
@@ -62,6 +62,14 @@ argument_specs:
|
||||
description: Defines the AS for the kube-vip BGP peer
|
||||
default: "64512"
|
||||
|
||||
kube_vip_bgp_peers:
|
||||
description: List of BGP peer ASN & address pairs
|
||||
default: []
|
||||
|
||||
kube_vip_bgp_peers_groups:
|
||||
description: Inventory group in which to search for additional kube_vip_bgp_peers parameters to merge.
|
||||
default: ['k3s_master']
|
||||
|
||||
kube_vip_iface:
|
||||
description:
|
||||
- Explicitly define an interface that ALL control nodes
|
||||
|
||||
Reference in New Issue
Block a user