changed load-balancer to metallb

This commit is contained in:
Radar231 2021-10-19 14:36:28 -04:00
parent 3e19c5a301
commit 733f6c32a4
2 changed files with 18 additions and 0 deletions

18
mosquitto_lb.yml Normal file
View File

@ -0,0 +1,18 @@
---
apiVersion: v1
kind: Service
metadata:
name: mosquitto
annotations:
metallb.universe.tf/address-pool: default
metallb.universe.tf/allow-shared-ip: "dot81"
spec:
loadBalancerIP: 192.168.7.81
ports:
- port: 1883
targetPort: 1883
selector:
app: mosquitto
type: LoadBalancer
# EOF