-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support TCP (and UDP?) in proxy rules #4
Comments
Comment by rshriram unfortunately, openresty does not support balance_by_lua for TCP streams yet. Need to find third party modules that handle the scenario in a similar fashion. |
Comment by rshriram Submitted PR for balancer_by_lua support in nginx stream blocks. openresty/stream-lua-nginx-module#30 |
Does this PR mean there are known issues using Amalgam8 to proxy services accessed via TCP / UDP sockets like JMS servers or MongoDB instances? |
Hi, yes. At the moment, you would have to customize the sidecar's nginx configuration file to add the stream proxy block that allows you to proxy TCP/UDP connections. https://nginx.org/en/docs/stream/ngx_stream_proxy_module.html |
Thanks @rshriram. Do you have a suggestion on a clean & low-touch way I could customise the Nginx configuration for the sidecar? I have a
that I mount into For example:
|
What you are doing is right. One thing that the sidecar can do is to add a stream block with an include directive that looks for files like *.stream.conf. Can you please file a bug? I will fix this in next release (which should happen in a day or so). |
Thanks for your response, @rshriram. One of the major reason I'm interested in enabling TCP & UDP sockets for a8sidecars at the moment is to take advantage of Gremlin in resiliency testing. If the Nginx configuration issues are addressed (by extending the configuration ourselves) will that be sufficient for allowing our TCP & UDP based services to participate in Gremlin tests? What about other Am I interpreting things correctly if I say Lua is responsible for managing the Nginx configuration in response to A8 events? |
With move to Envoy, TCP proxying will be available out of the box. @ijsnellf - we just need rules support for TCP rules |
closing this as there is a new issue to track this for Envoy #459 |
Issue by elevran
Thursday Jun 16, 2016 at 09:01 GMT
Originally opened as https://github.com/amalgam8/sidecar/issues/4
Enable TCP / UDP proxy support in controller rules and sidecar
The text was updated successfully, but these errors were encountered: