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

Hardcode Gunicorn Workers/Threads #51

Merged
merged 6 commits into from Oct 6, 2020
Merged

Conversation

phenixblue
Copy link
Contributor

@phenixblue phenixblue commented Oct 6, 2020

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind bug

/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind feature

What this PR does / why we need it:

This PR resolves an issue with the dynamic generation of Gunicorn worker/thread counts. The dynamic generation showed to cause issues on clusters with worker nodes that have a high CPU count (24+). After discussion with some colleagues, the resolution is to hard code the number of workers/threads and ad an HPA resource to allow for horizontal scaling.

Which issue(s) this PR fixes:

Fixes #48
Fixes #49
Fixes #50

Special notes for your reviewer:

NA

Does this PR introduce a user-facing change?:

An HPA resource is added to allow for automatic horizontal scaling based on CPU utilization.

Additional documentation e.g., usage docs, etc.:

NA

@phenixblue phenixblue added bug Something isn't working enhancement New feature or request yaml labels Oct 6, 2020
@phenixblue phenixblue merged commit 9ec0044 into tmobile:master Oct 6, 2020
@phenixblue phenixblue deleted the fix-48 branch October 6, 2020 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request yaml
Projects
None yet
1 participant