changed load-balancer to metallb

This commit is contained in:
Radar231 2021-10-19 14:34:08 -04:00
parent 6a84b0554f
commit 8817452fc2
2 changed files with 18 additions and 0 deletions

18
home-assistant_lb.yml Normal file
View File

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