mirror of
https://github.com/mii443/k8s-argocd.git
synced 2025-08-22 15:05:27 +00:00
bgp setup
This commit is contained in:
16
k8s/setup/bgp/lbconfmap.yaml
Normal file
16
k8s/setup/bgp/lbconfmap.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
namespace: metallb-system
|
||||||
|
name: config
|
||||||
|
data:
|
||||||
|
config: |
|
||||||
|
peers:
|
||||||
|
- peer-address: 192.168.1.1
|
||||||
|
peer-asn: 64512
|
||||||
|
my-asn: 64512
|
||||||
|
address-pools:
|
||||||
|
- name: default
|
||||||
|
protocol: bgp
|
||||||
|
addresses:
|
||||||
|
- 10.0.0.0/24
|
8
k8s/setup/bgp/rtxbgp.yaml
Normal file
8
k8s/setup/bgp/rtxbgp.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: projectcalico.org/v3
|
||||||
|
kind: BGPPeer
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: bgppeer-rtx830
|
||||||
|
spec:
|
||||||
|
asNumber: 64512
|
||||||
|
peerIP: 192.168.1.1
|
Reference in New Issue
Block a user