changed load-balancer to metallb
This commit is contained in:
parent
148ddca0da
commit
17ae3de962
|
@ -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
|
Loading…
Reference in New Issue