1
0
Fork 0

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
Dustin 2024-11-22 22:37:01 -06:00
parent fefbaa9991
commit 1a39a8869a
1 changed files with 3 additions and 2 deletions

View File

@ -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