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

Robustify cloud deployment + include initial KEDA configuration #3094

Merged
merged 3 commits into from
Nov 9, 2024

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Nov 9, 2024

Description

  • Ensure cloud tags point to private Dockerhub images to prevent confusion for open source users
  • Initial KEDA configurations (limits are set very conservatively, but I am actively iterating on them- best to simply get the base configuration in the repo for maintainability)

Copy link

vercel bot commented Nov 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2024 7:28pm

@pablonyx pablonyx changed the title update so that containers build for cloud Robustify cloud deployment + include initial KEDA configuration Nov 9, 2024
@@ -146,6 +146,8 @@ def on_celeryd_init(sender: Any = None, conf: Any = None, **kwargs: Any) -> None
def wait_for_redis(sender: Any, **kwargs: Any) -> None:
"""Waits for redis to become ready subject to a hardcoded timeout.
Will raise WorkerShutdown to kill the celery worker if the timeout is reached."""
if MULTI_TENANT:
Copy link
Contributor

Choose a reason for hiding this comment

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

Understand we don't need the checks for multi-tenant/cloud, but conditionals like this should be as high in the call stack as possible, not embedded in tool functions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Completely agree! Moved all these checks up to the worker init

@pablonyx pablonyx marked this pull request as ready for review November 9, 2024 21:26
@pablonyx pablonyx added this pull request to the merge queue Nov 9, 2024
Merged via the queue into main with commit a1b95df Nov 9, 2024
7 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.

2 participants