add metallb deployment

This commit is contained in:
dvirlabs 2025-05-30 13:55:52 +03:00
parent 3e105af554
commit 0160914ad8
4 changed files with 42 additions and 0 deletions

18
argocd-apps/metallb.yaml Normal file
View File

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: metallb
namespace: argocd
spec:
project: default
source:
repoURL: https://git.dvirlabs.com/dvirlabs/infra.git
targetRevision: HEAD
path: manifests/metallb
destination:
server: https://kubernetes.default.svc
namespace: metallb-system
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -0,0 +1,5 @@
# התקנת CRDs והרכיבים הרשמיים
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml

View File

@ -0,0 +1,15 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: public-ips
namespace: metallb-system
spec:
addresses:
- 192.168.10.240-192.168.10.250
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: l2
namespace: metallb-system

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system