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

datapath: Add a new option to skip socket lb when in pod ns #17154

Merged
merged 1 commit into from
Sep 30, 2021

Commits on Sep 29, 2021

  1. Adds a new option to skip socket lb when in pod ns

    This is for compatibility with Istio in kube-proxy free mode.
    Currently, even though Istio would still get all traffic within pod
    namespace, but the original service VIP is lost during socket lb,
    causing it to miss all Istio routing chains and therefore bypassing
    all Istio functionalities.
    
    This adds a new option to bypass socket lb in pod namespace. When
    enabled, service resolution for connection from pod namespaces will be
    handled in bpf_lxc at veth. For host-namespaced pods, socket lb kept as
    is.
    
    Signed-off-by: Weilong Cui <cuiwl@google.com>
    Signed-off-by: Martynas Pumputis <m@lambda.lt>
    Weil0ng authored and brb committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    3cecb25 View commit details
    Browse the repository at this point in the history