Skip to content

about vllm healthy check on k8s #1343

@allenhaozi

Description

@allenhaozi

Deploying vllm on k8s For service stability, healthy check is configured

  1. TCP check

  2. real llm request

  3. healthy check api

  4. tcp is a little simple

  5. real request relative resource consumption

Can we add a simple calculation to provide check as follows

@app.get("/healthz")
async def health_check():
    """Health check"""
    # a simple compute

if it works, I would like to contribute this pr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions