jdqpoijde

This commit is contained in:
2025-09-30 15:12:18 +02:00
parent 0ec91e6005
commit 03ec50af94
3 changed files with 48 additions and 12 deletions

View File

@@ -1,10 +1,19 @@
apiVersion: v2
name: metallb
description: A Helm chart for MetalLB
type: application
version: 0.1.0
appVersion: ">=0.10.2" # Replace with the desired MetalLB version
description: A network load-balancer implementation for Kubernetes using standard routing protocols
home: https://metallb.universe.tf
sources:
- https://github.com/metallb/metallb
icon: https://metallb.universe.tf/images/logo/metallb-white.png
dependencies:
- name: metallb
version: ">=0.10.2" # Replace with the desired MetalLB version
repository: "https://metallb.github.io/metallb"
- name: crds
condition: crds.enabled
version: 0.0.0
- name: frr-k8s
repository: https://metallb.github.io/frr-k8s
condition: frrk8s.enabled
version: 0.0.20
type: application
kubeVersion: ">= 1.19.0-0"
version: 0.0.0
appVersion: v0.15.2

View File

@@ -0,0 +1,26 @@
# metallb-config.yaml
# This first resource defines the pool of IP addresses that MetalLB can use.
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: default-pool
namespace: i-metallb
spec:
addresses:
- 192.168.178.200-192.168.178.250
---
# This second resource tells MetalLB HOW to advertise the IPs from the pool.
# Here, we're using Layer 2 mode.
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default-advertisement
namespace: i-metallb
spec:
# This selector links this advertisement to the IPAddressPool defined above.
# You can leave it empty to select all pools.
ipAddressPools:
- default-pool

View File

@@ -1,5 +1,6 @@
speaker:
tolerations:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
configInline:
address-pools:
- name: default-pool
protocol: layer2
addresses:
- 192.168.178.200-192.168.178.250