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

api: target servers for allocation requests #8897

Merged
merged 1 commit into from
Sep 16, 2020

Commits on Sep 16, 2020

  1. api: target servers for allocation requests

    Allocation requests should target servers, which then can forward the
    connection to the appropriate servers.
    
    Contacting clients directly is fragile and prune to failures: e.g.
    clients maybe firewalled and not accessible from the API client, or have
    some internal certificates not trusted by the API client.
    
    FWIW, in contexts where we anticipate lots of traffic (e.g. logs, or
    exec), the api package attempts contacting server directly but then
    fallsback to using the client.  This approach seems excessive in these
    simple GET/PUT requests.
    Mahmood Ali committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    ac87f31 View commit details
    Browse the repository at this point in the history