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

agones-{extensions,allocator}: Make servers context aware #3845

Merged
merged 6 commits into from
Jul 12, 2024

Commits on Jun 26, 2024

  1. agones-{extensions,allocator}: Make servers context aware, add gRPC h…

    …ealth check
    
    * adds an `httpserver` utility package to handle the `Run` function
    that controller/extensions use. Make that context aware using the same
    method as https.Run:
    https://github.com/googleforgames/agones/blob/dfa414e5e4da37798833bbf8c33919acb5f3c2ea/pkg/util/https/server.go#L127-L130
    
    * also plumbs context-awareness through the allocator
    run{Mux,REST,GRPC} functions.
    
    * adds a gRPC health server to the allocator, calls .Shutdown() on it
    during graceful termination - this seems to push the client off correctly.
    
    Tested with e2e in a loop.
    
    Towards googleforgames#3853
    zmerlynn committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    0d30acd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3d5fcb View commit details
    Browse the repository at this point in the history
  3. Use Shutdown/GracefulStop

    zmerlynn committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a349058 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d246a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    2f06434 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1006b0b View commit details
    Browse the repository at this point in the history