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

Extends the Endpoints support from 500 to 800, extra ones will be dropped in AntreaProxy #2101

Merged
merged 3 commits into from
Apr 29, 2021

Commits on Apr 23, 2021

  1. Extra Endpoints will be dropped if a Service's Endpoints exceed 800

    For antrea-io#2092
    
    Due to the message size and the implementation of Service in AntreaProxy,
    the maximum number of Endpoints that AntreaProxy can support now is 800.
    If the the number of Endpoints in given Service exceed 800, the extra
    Endpoints will be dropped.
    
    In AntreaProxy, OVS group is the key part of Service implementation. For
    now, Antrea is using Openflow 1.3 to communicate with OVS. In previous
    design, every bucket of a OVS group has five actions. Two actions for loading
    Endpoint IP and port to registers and resubmit action must be reserved.The
    other two actions for loading values to register can be moved to flows (in
    current patch, they are moved to table 41), and then one message can hold
    more bucket items. As a result, the maximum Endpoint has changed from 511
    to 800. Unfortunately, to ensure AntreaProxy running correctly, the extra
    Endpoints will be dropped.
    hongliangl committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    1baacc2 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. For review

    - Rewrite the code of how to cut Endpoints when Endpoints is over maxEndpoints
    - Replace svcInfo.String() with svcPortName.String()
    hongliangl committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    6b28de5 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. For review - 2

    hongliangl committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    bc95f63 View commit details
    Browse the repository at this point in the history