20 lines
343 B
YAML
20 lines
343 B
YAML
---
|
|
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.20.81
|
|
ports:
|
|
- port: 8123
|
|
targetPort: 8123
|
|
name: port8123
|
|
selector:
|
|
app: home-assistant
|
|
type: LoadBalancer
|
|
|
|
# EOF
|