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

helm,test: Add standalone L4LB XDP tests in a form of Github Action #16338

Merged
merged 2 commits into from
Jun 7, 2021

Commits on Jun 4, 2021

  1. helm: Add loadBalancer.{standalone,dsrDispatch}

    This commit introduces the following Helm options:
    - "loadBalancer.standalone" to enable the standalone Cilium L4LB.
    - "loadBalancer.dsrDispatch" to choose the DSR dispatch mode.
    
    Also, this commit replaces --node-port-{mode,acceleration} with
    --bpf-lb-{mode,acceleration}, respectively. The former two were
    deprecated by d73c572.
    
    Signed-off-by: Martynas Pumputis <m@lambda.lt>
    brb committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    e867258 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. test: Add GH Action for Cilium L4LB XDP tests

    This commit introduces a new GH action called "Cilium L4LB XDP" which is
    responsible for running the standalone LB tests.
    
    The action starts a Fedora VM with vagrant. We do that because we need
    to run Kind on cgroupv2-only machine (otherwise, bpf_sock which is
    required by the LB health check is not guaranteed to work).
    Unfortunately, GH Action does not support any runner with cgroupv2-only.
    So instead we run Fedora 34 which has cgroupv1 disabled on the MacOS
    runner which supports nested virtualisation.
    
    For now the test issues 10 requests to LB VIP from the Fedora VM. See
    test.sh for more details.
    
    Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    Signed-off-by: Martynas Pumputis <m@lambda.lt>
    brb committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    a1ff7d8 View commit details
    Browse the repository at this point in the history