-
Notifications
You must be signed in to change notification settings - Fork 27
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
add resources to gateway and scheduler containers #1357
Conversation
Signed-off-by: Akihiko Kuroda <akihikokuroda2020@gmail.com>
@@ -53,6 +53,7 @@ jobs: | |||
--set gateway.application.ray.cpu=1 \ | |||
--set gateway.application.limits.keepClusterOnComplete=false \ | |||
. | |||
sleep 120 |
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.
instead of a sleep, could we do a readiness check instead? something like :
kubectl wait --for=condition=Ready "$SOMEPOD" --timeout 5m
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.
It's better.
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.
LGTM, thank you Aki!
Summary
This PR adds
resources
in gateway and scheduler containers.The
cpu
limits
for gateway affects the startup time of the gateway pod. Thereadiness
probe configuration is changed to work with thecpu
limits
value in this PR.Details and comments