Skip to content
Snippets Groups Projects
Commit 06cc1dbd authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Install and configure bird

parent 6b2c67a5
Branches
No related tags found
1 merge request!35Install and configure bird
Pipeline #107023 passed
PARAM - - tcp 179
......@@ -160,6 +160,9 @@ ACCEPT all kube:$METALLB_RADIUS
# API
Web/ACCEPT public:$GITLAB01 fw:$KUBE_API_PUBLIC
# BGP
BGP/ACCEPT kube fw
##### Kubernetes end
# HAProxy
......
......@@ -17,6 +17,7 @@
- haproxy
- shorewall
- shorewall6
- bird2
state: present
- name: Copy static config files
ansible.builtin.copy:
......
log syslog all;
protocol device {
}
protocol direct {
ipv4; # Connect to default IPv4 table
ipv6; # ... and to default IPv6 table
}
protocol kernel {
ipv4 { # Connect protocol to IPv4 table by channel
export all; # Export to protocol. default is export none
};
}
protocol bgp k8s {
router id {{ bird_router_id }};
local as 64567;
ipv4 {
import all;
export none;
};
neighbor range 10.98.1.0/24 as 64512;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment