-
-
Notifications
You must be signed in to change notification settings - Fork 967
Add initial K8s web HPA. #5951
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
base: master
Are you sure you want to change the base?
Add initial K8s web HPA. #5951
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5951 +/- ##
=======================================
Coverage 97.21% 97.21%
=======================================
Files 473 473
Lines 9764 9764
=======================================
Hits 9492 9492
Misses 272 272 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I think we need to take a closer look at usage metrics we have in Datadog to see if we're actually hitting 100% CPU. I had some metrics from Kubernetes on my second monitor last week, and I don't think I ever saw the CPU get that high.
- If this change is merged, a quick heads-up that it's almost certainly going to be replaced with a new policy based on queue time (https://judoscale.com/blog/request-queue-time) that I've been building up #5945.
| annotations: | ||
| shipit.shopify.io/restart: 'true' | ||
| spec: | ||
| replicas: <%= environment == 'production' ? 3 : 2 %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying a replica and HPA policy are exclusive, they will try to overwrite one another
| stabilizationWindowSeconds: 60 | ||
| policies: | ||
| - type: Percent | ||
| value: 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are our web pods hitting 100% CPU? Can you check with Datadog to review what the ideal CPU usage percentage would be for scaling up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Uh oh!
There was an error while loading. Please reload this page.