Skip to content

Conversation

varungup90
Copy link
Collaborator

Pull Request Description

Add graceful shutdown for gateway pod and adds liveness/readiness probes.

On termination of gateway pod, no new requests will be accepted and just existing requests will complete.
Screenshot 2025-04-09 at 2 49 19 PM

Related Issues

Resolves: #760 #906

Important: Before submitting, please complete the description above and review the checklist below.


Contribution Guidelines (Expand for Details)

We appreciate your contribution to aibrix! To ensure a smooth review process and maintain high code quality, please adhere to the following guidelines:

Pull Request Title Format

Your PR title should start with one of these prefixes to indicate the nature of the change:

  • [Bug]: Corrections to existing functionality
  • [CI]: Changes to build process or CI pipeline
  • [Docs]: Updates or additions to documentation
  • [API]: Modifications to aibrix's API or interface
  • [CLI]: Changes or additions to the Command Line Interface
  • [Misc]: For changes not covered above (use sparingly)

Note: For changes spanning multiple categories, use multiple prefixes in order of importance.

Submission Checklist

  • PR title includes appropriate prefix(es)
  • Changes are clearly explained in the PR description
  • New and existing tests pass successfully
  • Code adheres to project style and best practices
  • Documentation updated to reflect changes (if applicable)
  • Thorough testing completed, no regressions introduced

By submitting this PR, you confirm that you've read these guidelines and your changes align with the project's contribution standards.

Signed-off-by: Varun Gupta <varungup90@gmail.com>
@varungup90 varungup90 requested a review from Jeffwan April 9, 2025 23:18
@varungup90
Copy link
Collaborator Author

@Xunzhuo PTAL as well. Do not why I can not find your name in list to request review.
image

@Jeffwan
Copy link
Collaborator

Jeffwan commented Apr 11, 2025

This change looks good to me. health.NewServer() is preferred.

@varungup90 varungup90 merged commit 0c84608 into vllm-project:main Apr 11, 2025
11 checks passed
@Jeffwan Jeffwan deleted the graceful-shutdown-gateway branch April 11, 2025 20:25
Copy link
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Yaegaki1Erika pushed a commit to Yaegaki1Erika/aibrix that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support high availability of gateway server for production users
3 participants