Skip to content
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

k3s_server: add kube_vip_bgp_peers parameter #599

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

berendt
Copy link
Contributor

@berendt berendt commented Oct 24, 2024

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

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 <[email protected]>
@berendt berendt force-pushed the kube_vip_bgp_peers branch from 99f185a to 1a0baea Compare October 24, 2024 13:48
berendt added a commit to osism/container-image-osism-ansible that referenced this pull request Oct 24, 2024
Can be removed again after merge of techno-tim/k3s-ansible#599

Signed-off-by: Christian Berendt <[email protected]>
berendt added a commit to osism/container-image-osism-ansible that referenced this pull request Oct 24, 2024
Can be removed again after merge of techno-tim/k3s-ansible#599

Signed-off-by: Christian Berendt <[email protected]>
berendt added a commit to osism/container-image-osism-ansible that referenced this pull request Oct 24, 2024
Can be removed again after merge of techno-tim/k3s-ansible#599

Signed-off-by: Christian Berendt <[email protected]>
@timothystewart6 timothystewart6 enabled auto-merge (squash) October 27, 2024 18:27
@timothystewart6 timothystewart6 merged commit 4c0b1ee into techno-tim:master Oct 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants