sync namespace names with directory names

This commit is contained in:
2025-08-07 18:29:03 +03:00
parent 42aef1e928
commit 82311c86ff
19 changed files with 14 additions and 7 deletions

15
metallb-system/README.md Normal file
View File

@@ -0,0 +1,15 @@
# MetalLB
## Derployment
With ArgoCD. Render it locally:
```sh
kustomize build . --enable-helm
```
Eventually the external IP should show up here:
```
kubectl get svc -n traefik
```

View File

@@ -0,0 +1,70 @@
---
# Slice of the private Zoo subnet using MetalLB L2 method
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: zoo
namespace: metallb-system
spec:
addresses:
- 172.21.51.0/24
---
# Slice of public EEnet subnet using MetalLB L3 method
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: eenet
namespace: metallb-system
spec:
addresses:
- 193.40.103.36/30
---
# Slice of public Elisa subnet using MetalLB L3 method
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: elisa
namespace: metallb-system
spec:
addresses:
- 62.65.250.36/30
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: bind-secondary-internal
namespace: metallb-system
spec:
addresses:
- 172.21.53.0/24
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: bind-secondary-external
namespace: metallb-system
spec:
addresses:
- 62.65.250.2/32
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: wildduck
namespace: metallb-system
spec:
addresses:
- 193.40.103.25/32
---
apiVersion: metallb.io/v1beta2
kind: BGPPeer
metadata:
name: mikrotik-router
namespace: metallb-system
spec:
myASN: 65530
peerASN: 65530
peerAddress: 172.20.0.1
passwordSecret:
name: mikrotik-router
namespace: metallb-system

View File

@@ -0,0 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: metallb-system
# spec: https://kubectl.docs.kubernetes.io/references/kustomize/builtins/#_helmchartinflationgenerator_
helmCharts:
- includeCRDs: true
name: &name metallb
releaseName: *name
repo: https://metallb.github.io/metallb
valuesFile: values.yaml
version: 0.15.2
resources:
- ssh://git@git.k-space.ee/secretspace/kube/metallb # secrets (.env): mikrotik-router
- ./application-extras.yaml

View File

@@ -0,0 +1,4 @@
prometheus:
rbacPrometheus: false
serviceMonitor:
enabled: true