Skip to content

Commit

Permalink
Update cilium.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-haley authored Aug 13, 2024
1 parent e692c9d commit 6f1e449
Showing 1 changed file with 31 additions and 17 deletions.
48 changes: 31 additions & 17 deletions kubernetes/manifests/apps/kube-system/cilium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,27 +107,41 @@ values:

resources:
- apiVersion: cilium.io/v2alpha1
kind: CiliumBGPPeeringPolicy
kind: CiliumBGPClusterConfig
metadata:
name: bgp-loadbalancer-ip-main
name: bgp-cluster-config
spec:
nodeSelector:
matchLabels:
kubernetes.io/os: "linux"
virtualRouters:
- localASN: 64513
bgpInstances:
- asn: 64513
routerID: "{{ .NodeIP }}"
exportPodCIDR: true
serviceSelector:
matchExpressions:
- key: somekey
operator: NotIn
values: ["announce-all-services"]
neighbors:
- peerAddress: "${NETWORK_BGP_PEER}/32"
peerASN: 64512
gracefulRestart:
enabled: true
restartTimeSeconds: 120
- peerConfigRef:
name: main-peer-config

- apiVersion: cilium.io/v2alpha1
kind: CiliumBGPPeerConfig
metadata:
name: main-peer-config
spec:
peerAddress: "${NETWORK_BGP_PEER}/32"
peerASN: 64512
gracefulRestart:
enabled: true
restartTimeSeconds: 120

- apiVersion: cilium.io/v2alpha1
kind: CiliumBGPAdvertisements
metadata:
name: service-advertisements
spec:
prefixes:
- 192.168.2.0/24
serviceSelector:
matchExpressions:
- key: somekey
operator: NotIn
values: ["announce-all-services"]

- apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool
Expand Down

0 comments on commit 6f1e449

Please sign in to comment.