Hi.
I successfully managed to install an HAProxy Ingress Controller and a VerneMQ kubernetes operator on the same k8s cluster. Both were configured to use proxy-protocol-v2. But when I ask vmc-admin to show sessions it shows only reserved IPs:
| 69:02:b8:50:6d:c8 | true | |10.240.0.4 | 4256 |xxxx |
| 69:02:b8:71:eb:f4 | true | |10.240.0.4 | 23573 |xxxx |
| 69:02:b8:63:bc:34 | true | |10.240.0.6 | 24889 |xxxx |
| 69:02:b8:71:ee:c7 | true | |10.240.0.6 | 25818 |xxxx |
| 69:02:b8:5b:7c:1f | true | |10.240.0.6 | 60822 |xxxx |
| 69:02:b8:5f:31:64 | true | |10.240.0.4 | 3215 |xxxx |
| 69:02:b8:5c:60:a9 | true | |10.240.0.5 | 37592 |xxxx |
+---------------------------------+---------+----------+-----------+---------+----+
My vernemq-vernemq.yaml file has the following definitions:
...
listeners:
- address: 0.0.0.0
port: 1883
maxConnections: 10000
nrOfAcceptors: 10
proxyProtocol: true
...
I am able to connect to the cluster from outside using TLS terminated on HAProxy.
Can somebody please help?