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

Increase the max wait time for EndpointCreate API requests #25805

Merged
merged 1 commit into from
Jun 20, 2023

Commits on Jun 19, 2023

  1. Increase the max wait time for EndpointCreate API requests

    In the event that a node has a burst of PodSanboxCreate requests, API
    requests will pile up. However, we should wait longer for the queue to
    clear before short-circuting and returing failure.
    
    This is because the kubelet has a relatively relaxed timeout for
    PodSandbox creation -- 4 minutes. Furthermore, if we return a failure
    here, it is propagated all the way back through containerd to kubelet,
    which will tear down the entire PodSandbox and try again, which can be
    expensive.
    
    So, increase the maximum queue duration time to 1 minute. That should
    hopefully give enough time for the queue to clear.
    
    Signed-off-by: Casey Callendrello <cdc@isovalent.com>
    squeed committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    4ff1ef8 View commit details
    Browse the repository at this point in the history