L2 loadbalancer, yay!

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-11-13 21:32:25 +01:00
parent 0dadc4adb5
commit 92cbeeeefc
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,13 @@
apiVersion: cilium.io/v2alpha1
kind: CiliumLoadBalancerIPPool
metadata:
name: arm-services
spec:
cidrs:
- cidr: "172.20.0.71/32"
- cidr: "172.20.0.72/29"
- cidr: "172.20.0.80/28"
- cidr: "172.20.0.96/27"
- cidr: "172.20.0.128/29"
- cidr: "172.20.0.136/30"
- cidr: "172.20.0.140/32"

View File

@ -0,0 +1,21 @@
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "cilium.io/v2alpha1",
"kind": "CiliumL2AnnouncementPolicy",
"metadata": {"name":"policy1"},
"spec": {
"externalIPs": true,
"interfaces": [
"^en.*"
],
"loadBalancerIPs": true
}
}
],
"kind": "List",
"metadata": {
"resourceVersion": ""
}
}