-
I'm trying to use the operator to configure a single node EMQX 5. I use terraform so don't mind the exact syntax. I install the operator with helm and create a single instance EMQX 5 👍
I configure the bootstrapConfig to include listening on the tls/8883 port :
A service of type ClusterIP is created, it listens on 8883/TCP and 1883/TCP. Is there a way to tell the operator that this should be of LoadBalancer type? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can set |
Beta Was this translation helpful? Give feedback.
-
Many thanks, this works. Would it be also possible to setup a ClusterIP for 1883 and LoadBalancer for 8883 or do they have to be of the same type? |
Beta Was this translation helpful? Give feedback.
You can set
.spec.listenersServiceTemplate.spec.type = LoadBalancer
, and if need add some annotations from Azure, you can set.spec.listenersServiceTemplate.metadata.annotations