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

Increase the min number of instances and the cool down period #4256

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

past
Copy link
Member

@past past commented Feb 12, 2025

The current webapp VM configuration is:

automatic_scaling:
  cool_down_period: 120s
  min_num_instances: 2
  max_num_instances: 20
  cpu_utilization:
    target_utilization: 0.5

This change removes the instance_class that is only applicable to the standard environment (c.f. flex docs), doubles the minimum number of instances and increases the cool down period to avoid health check errors during instance initialization.

@past past requested a review from DanielRyanSmith February 12, 2025 22:51
@past past changed the title Double the min number of instances and the cool down period Increase the min number of instances and the cool down period Feb 12, 2025
@past
Copy link
Member Author

past commented Feb 12, 2025

The GCP recommendation is to overprovision by 50%, but I doubled it just to be safe.

@DanielRyanSmith DanielRyanSmith merged commit f730da3 into main Feb 12, 2025
12 checks passed
@DanielRyanSmith DanielRyanSmith deleted the past/fix-instance branch February 12, 2025 23:25
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