changed load-balancer to metallb
This commit is contained in:
parent
3e19c5a301
commit
733f6c32a4
|
@ -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
|
Loading…
Reference in New Issue