add metallb deployment
This commit is contained in:
parent
3e105af554
commit
0160914ad8
18
argocd-apps/metallb.yaml
Normal file
18
argocd-apps/metallb.yaml
Normal 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
|
||||
5
manifests/metallb/base-install.yaml
Normal file
5
manifests/metallb/base-install.yaml
Normal 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
|
||||
15
manifests/metallb/config.yaml
Normal file
15
manifests/metallb/config.yaml
Normal 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
|
||||
4
manifests/metallb/namespace.yaml
Normal file
4
manifests/metallb/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: metallb-system
|
||||
Loading…
x
Reference in New Issue
Block a user