[calico] add bgp configuration

This commit is contained in:
Nico Schottelius 2021-04-07 21:31:39 +02:00
parent 6097ee03d1
commit f2985f86c7
1 changed files with 34 additions and 0 deletions

34
v3-calico/bgpconfig.yaml Normal file
View File

@ -0,0 +1,34 @@
---
apiVersion: projectcalico.org/v3
kind: BGPConfiguration
metadata:
name: default
spec:
logSeverityScreen: Info
nodeToNodeMeshEnabled: true
asNumber: 207996
serviceClusterIPs:
- cidr: 2a0a:e5c0:2:13::/108
serviceExternalIPs:
- cidr: 2a0a:e5c0:2:13::/108
prefixAdvertisements:
- cidr: 172.218.4.0/26
communities:
- bgp-large-community
- 63400:120
---
apiVersion: projectcalico.org/v3
kind: BGPPeer
metadata:
name: router1
spec:
peerIP: 2a0a:e5c0:1:8::5
asNumber: 207996
---
apiVersion: projectcalico.org/v3
kind: BGPPeer
metadata:
name: router2
spec:
peerIP: 2a0a:e5c0:1:8::6
asNumber: 207996