h-a/mosquitto: Configure Service externalIPs
Clients outside the cluster can now communicate with Mosquitto directly on port 8883 by using its dedicated external IP address. This address is automatically assigned to the node where Mosquitto is running by `keepalived`.pull/37/head
parent
fefbaa9991
commit
1a39a8869a
|
@ -26,11 +26,12 @@ spec:
|
|||
ports:
|
||||
- port: 8883
|
||||
name: mqtt
|
||||
nodePort: 30783
|
||||
selector:
|
||||
app.kubernetes.io/component: mosquitto
|
||||
app.kubernetes.io/name: mosquitto
|
||||
type: NodePort
|
||||
type: ClusterIP
|
||||
externalIPs:
|
||||
- 172.30.0.148
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
|
|
Loading…
Reference in New Issue