feat(k8s/infrastructure): add MetalLB with pool 10.127.1.200-10.127.1.249

This commit is contained in:
2026-03-01 13:16:48 +02:00
parent fd58435c16
commit 92d8546c10
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: homelab
namespace: metallb-system
spec:
addresses:
- 10.127.1.200-10.127.1.249
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: homelab
namespace: metallb-system
spec:
ipAddressPools:
- homelab

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system
labels:
pod-security.kubernetes.io/enforce: privileged

View File

@@ -0,0 +1,20 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: metallb
namespace: flux-system
spec:
chart:
spec:
chart: metallb
version: 0.15.3
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: metallb
namespace: flux-system
targetNamespace: metallb-system
interval: 1m0s
values:
speaker:
ignoreExcludeLB: true

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: metallb
namespace: flux-system
spec:
interval: 1m0s
url: https://metallb.github.io/metallb