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

feat(gcp_sqs_config): adds support for min and max replicas #891

Closed
wants to merge 1 commit into from

Conversation

akhileshh
Copy link
Contributor

No description provided.

@akhileshh akhileshh requested a review from supersergiy February 6, 2025 12:28
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d82dacd) to head (29b39cf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #891   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          142       142           
  Lines         6100      6100           
=========================================
  Hits          6100      6100           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

configuration, _ = get_cluster_data(cluster_info)
with secrets_ctx_mngr(run_id, secrets, cluster_info, namespace=namespace):
manifest = _get_scaled_job_manifest(
f"{run_id}-{group_name}",
[_get_sqs_trigger(sqs_trigger_name, queue)],
job_spec=job_spec,
min_replicas=replicas,
Copy link
Member

Choose a reason for hiding this comment

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

Does the deployment start with min replicas or max replicas?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think we would ever want a deployment that cannot scale to 0, so I would guess min replicas should always be 0

@akhileshh akhileshh closed this Feb 7, 2025
@akhileshh akhileshh deleted the akhilesh/keda-min-max-replicas branch February 25, 2025 11:56
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