lb classes

This commit is contained in:
2024-04-18 13:49:03 +02:00
parent 428f45060c
commit 6d14cd3b3b
3 changed files with 9 additions and 1 deletions

View File

@ -8,3 +8,10 @@ resources:
- base/01-metallb-pool-local.yaml
- base/01-metallb-pool-front.yaml
- github.com/metallb/metallb/config/native?ref=v0.14.4
configMapGenerator:
- name: config
literals:
- lb-class=metallb
generatorOptions:
disableNameSuffixHash: true

View File

@ -4,5 +4,6 @@ metadata:
name: argocd-server
spec:
type: LoadBalancer
loadBalancerClass: metallb
loadBalancerIP: 192.168.178.103

View File

@ -7,7 +7,7 @@ spec:
loadBalancerIP: 192.168.178.102
type: LoadBalancer
selector:
app: local-traefik
app: traefik
ports:
# Local
- name: web-local