-
Notifications
You must be signed in to change notification settings - Fork 689
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
How to TCP Proxy? #3247
Comments
Thanks for checking Contour out @chriscardillo, and thanks for the issue. So, Your config looks good, for exposing your app that's running on What are you looking to do with TCPProxy? Note that we named that wrong when we built it, really it should be called |
My overall goal is to have control over http/https ingress, as well as the ability to expose additional port services. So in sticking with the example above, I want to be able to:
Over time, the goal would be that the Also in general trying to understand when to use Kubernetes' I also realized it may be beneficial if I shared my kind config with you, as well!
And I stand this up with Contour using the following commands:
Thanks again! I realize this is maybe a broader help-desk type question, so I appreciate you taking the time out to help. |
Sorry about the delay in getting back to you @chriscardillo! Right now, Contour only allows you to specify two listening ports, one for HTTP traffic and one for TLS traffic (either terminated HTTPS traffic, or TLS passthrough). We have #3263 open with a design to change that. In terms of As a small aside, I know you're doing this for Kind, but I really wouldn't recommend exposing a database via an ingress more generally! |
I appreciate the advice! For context, all of my inf would be housed behind a VPN, which may explain my willingness to expose the db :) I suppose I can just use nodeports and/or port forwarding to accomplish my goal if need be. Thanks again for your help here. P.S. Having a lot of success with HTTPProxy with the more intended use cases for ingress. Thank you for the project! |
@chriscardillo quick question, can you expose your db over The example DNS names can be anything as long as they point to |
Thank you, @stevesloka - I will definitely keep this in mind! |
is it possible to configure these ports ? |
Yes, see |
Hello and thanks for making this awesome product!
I have been learning k8s locally using kind, and I would like to be able to access a service from
localhost:5678
. I have tried looking over some tutorials and the docs, but I cannot figure out how to do it.I have a basic HTTPProxy working with the virtual host
local.projectcontour.io
, but I am unsure how to:localhost
instead oflocal.projectcontour.io
tcproxy
instead ofroutes
to get the proxy listening on :5678I am also having trouble understanding what my
virtualhost
would have to become if I were to move to a service like AWS EKS?Thanks in advance for your help here, please see my manifest below:
I was trying something along the lines of:
but no luck.
Thanks again!
The text was updated successfully, but these errors were encountered: