contour icon indicating copy to clipboard operation
contour copied to clipboard

How to setup contour as level 2 proxy

Open deveshk0 opened this issue 2 years ago • 3 comments

What question do you have?: How to setup contour as level 2 proxy

Anything else you would like to add: As described here, envoy needs some more configuration when running as level 2 proxy. -https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/level_two

Environment:

  • Contour version: v1.25.1
  • Kubernetes version: (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):

deveshk0 avatar Jul 27 '23 15:07 deveshk0

Sounds reasonable to offer the configurability of this field to allow users to run their Envoy's in line with Envoy's "L2" guidelines: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-stream-error-on-invalid-http-message

This would have to be a new feature, a global configuration that can be applied by an operator who knows how Contour is deployed so they can enable it correctly, probably should go here: https://projectcontour.io/docs/1.25/configuration/#listener-configuration

Let us know if you would be able to work on this @deveshk0, we can help guide your contribution and get you credit for this change!

sunjayBhatia avatar Jul 27 '23 16:07 sunjayBhatia

@sunjayBhatia I will take this up

deveshk0 avatar Jul 27 '23 20:07 deveshk0

that sounds great @deveshk0, I'll assign this issue to you, feel free to reach out for any help you need 👍🏽

sunjayBhatia avatar Jul 27 '23 20:07 sunjayBhatia

Hi @sunjayBhatia — I’ve opened this PR to address this issue. Let me know if anything needs to be changed! 😄

YashNandwana avatar Jul 11 '25 22:07 YashNandwana