Created
October 23, 2020 20:07
-
-
Save jtfogarty/792cfa11d81378105d1420f06c4d7cb6 to your computer and use it in GitHub Desktop.
pfSense - OpenBGPD - MetalLB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please edit the object below. Lines beginning with a '#' will be ignored, | |
# and an empty file will abort the edit. If an error occurs while saving this file will be | |
# reopened with the relevant failures. | |
# | |
apiVersion: v1 | |
data: | |
config: | | |
peers: | |
- peer-address: 10.10.100.2 | |
peer-asn: 64512 | |
my-asn: 64513 | |
address-pools: | |
- name: default | |
protocol: bgp | |
addresses: | |
- 10.10.100.50-10.10.100.100 | |
kind: ConfigMap | |
metadata: | |
name: config | |
namespace: metallb-system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl create ns metallb-system | |
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)" | |
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.4/manifests/namespace.yaml | |
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.4/manifests/metallb.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment