-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request help: stream_proxy(mqtt_proxy) do not support dns resolv。 #3964
Comments
Regarding the first question, currently apisix-dashboard does not support the The second question, maybe we need to support the configuration of the domain name. |
@souzens Yep, the current apisix-dashboard isn't capable to configure plugins for stream routes, you may have to configure them by invoking APIs by yourselves. And I think the second one can be supported. cc @spacewander @membphis |
welcome PR @souzens |
Fix apache#3964 Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Issue description
Background:
This is the requirement for developer in our company. It is necessary to deploy the mqtt service inside the k8s cluster with container, the conventional practice in the past is to create loadbalancer service to expose nodeport, but it is troublesome for operation and maintenance. The current api entry is unified by apisix, and apisix also has mqtt_proxy plugin, so just to try it.
During the deployment process, many problems were encountered.
FIrst question:
Apply the plugin of mqtt_proxy to the route through the apisix-dashboard, but it does not actually take effect
Second question:
Add stream_route through api, the ip field of upstream does not support domain name, ip must be used
In view of this problem, it is not convenient to use it in k8s. It is well known that the service domain name can be used for calls within the cluster.
apisix error_log
Environment
apisix version
): 2.4uname -a
): centos & k8sThe text was updated successfully, but these errors were encountered: