-
Hi, we would like to use an already assign static public IP (in Azure). One way is, of course, to create a new service (LoadBalancer type), select nodes through annotations and assign it the public static ip. Is there any other way to achieve this functionality through the operator? To somehow point the operator towards an already existing public IP? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, @KlemenDanfoss Sorry for delay. PS: We are trying to find a way to support external services. If we allow you to use an existing service to deploy EMQX CR, but this service will be updated by EMQX Operator with |
Beta Was this translation helpful? Give feedback.
-
Hi, I think we have two use cases here. First one is that we just want to use our own (statically assigned) IP. If you check this guide (click!) you can see that it's only a matter of providing the (wan) IP - kubernetes should take care of the rest. Of course one needs to make sure that that IP exists (not a task for the operator). Second one is to use our own service entirely. For my use case (and probably broader) I would say that this is an acceptable solution (you proposed, with the selectors). Only drawback with proposals above is using IaaC. In terraform, for example, one would need to 'ignore_changes' - since changes would not come from terraform. But that's acceptable I would say. |
Beta Was this translation helpful? Give feedback.
-
Great, works! |
Beta Was this translation helpful? Give feedback.
Hi, sorry for delay, and thanks for your feedback, this makes a lot of sense to me.
I read this guide (click!), looks set
.metadata. annotations
and.spec. loadBalancerIP
in EMQX CR'sserviceTemplate
it will ok.Now it is work ?