github.com/cilium/cilium@v1.16.2/contrib/containerlab/bgp-cplane-dev-v4/bgpp.yaml (about)

     1  ---
     2  apiVersion: cilium.io/v2alpha1
     3  kind: CiliumBGPPeeringPolicy
     4  metadata:
     5    name: control-plane
     6  spec:
     7    nodeSelector:
     8      matchLabels:
     9        kubernetes.io/hostname: bgp-cplane-dev-v4-control-plane
    10    virtualRouters:
    11    - localASN: 65001
    12      neighbors:
    13      - peerASN: 65000
    14        peerAddress: 10.0.1.1/32
    15  ---
    16  apiVersion: cilium.io/v2alpha1
    17  kind: CiliumBGPPeeringPolicy
    18  metadata:
    19    name: worker
    20  spec:
    21    nodeSelector:
    22      matchLabels:
    23        kubernetes.io/hostname: bgp-cplane-dev-v4-worker
    24    virtualRouters:
    25    - localASN: 65002
    26      neighbors:
    27      - peerASN: 65000
    28        peerAddress: 10.0.2.1/32