changed load-balancer to metallb

This commit is contained in:
Radar231 2021-10-19 14:34:17 -04:00
parent 148ddca0da
commit 17ae3de962
2 changed files with 22 additions and 0 deletions

22
motioneye_lb.yml Normal file
View File

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