-
Notifications
You must be signed in to change notification settings - Fork 539
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
[Serve] Support env var in service yaml #3078
[Serve] Support env var in service yaml #3078
Conversation
Requesting review @cblmemo @MaoZiming 🫡 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this feature! Could you add some tests you have run? Ideally we should have a new smoke test for this feature, e.g. a openai chat completion readiness probe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🚀 LGTM. Will merge when all unittest are finished.
Fixes #3048
Tested (run the relevant ones):
bash format.sh
readiness_probe
in service yaml (e.g.readiness_probe: /${VERSION}/models
)pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
bash tests/backward_comaptibility_tests.sh