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

add resources to gateway and scheduler containers #1357

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

akihikokuroda
Copy link
Collaborator

Summary

This PR adds resources in gateway and scheduler containers.

The cpu limits for gateway affects the startup time of the gateway pod. The readiness probe configuration is changed to work with the cpu limits value in this PR.

Details and comments

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
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's better.

Copy link
Member

@Tansito Tansito left a 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!

@akihikokuroda akihikokuroda merged commit 3fc78e4 into Qiskit:main Jun 7, 2024
15 checks passed
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.

3 participants