ungleich-k8s/v3-calico/bgpconfig.yaml
2021-04-07 21:31:39 +02:00

34 lines
638 B
YAML

---
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