Skip to content
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

Used proxy-protocol for TCP Service #318

Open
tili41 opened this issue May 20, 2021 · 6 comments
Open

Used proxy-protocol for TCP Service #318

tili41 opened this issue May 20, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@tili41
Copy link

tili41 commented May 20, 2021

Hi, we have an external HAProxy load-balancer upstream of the K8s cluster.
We have enabled the proxy-protocol to be able to whitelist the ip allowed to connect to the different services managed by HAProxy Controller. It works well for HTTPS services.
However, it doesn't seem possible to enable the proxy-protocol for TCP services.

Without the proxy-protocol, I do not really have the interest to have whitelists for TCP services (we manage this via the Service backend-config-snippet annotation).
To be clear, we don't want to enable proxy-protocol for the backend servers but only for the frontend (Ingress Controller).
Any idea? Thank you for your help.

@tili41
Copy link
Author

tili41 commented Jun 14, 2021

Hi. Do you have any news about this? Possible or not? If not, in a later release? Thanks.

@ivanmatmati ivanmatmati added the enhancement New feature or request label Jun 14, 2021
@ivanmatmati
Copy link
Collaborator

Hi @tili41, Currently this is not available on TCP services. We could plan it for a future release.

@Mo3m3n
Copy link
Contributor

Mo3m3n commented Jun 14, 2021

I think we better enable config-snippets for TCP frontends, this way you can add whatever configuration you want.

@apanagiotou
Copy link

apanagiotou commented Jun 21, 2022

Hi all! Any news on making TCP frontends accept proxy-protocol? In the annotations page, the only frontend relevant option is frontend-config-snippet but it says Defines a group of configuration directives to insert in the main HTTP/HTTPS frontends.. No option for TCP frontends.

@strowi
Copy link

strowi commented Oct 27, 2022

Any update on this? Or an example on how to enable accept-proxy on the frontend?

@vholer
Copy link

vholer commented Dec 19, 2022

Also interested in an easy way how to enable proxy for other frontends (e.g., stats).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants