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

chore: add warning for increased cpu requests for Fluentds #2108

Merged
merged 1 commit into from Feb 11, 2022

Conversation

perk-sumo
Copy link
Contributor

@perk-sumo perk-sumo commented Feb 10, 2022

HPA looks at request CPU for scaling.
Fluentd reaches 1 core at max.

Example:
When CPU request is set to eg. 3 (or 3000m) with HPA's targetCPUUtilizationPercentage: 50 means that HPA aims to get every Fluentd to 1.5 core utilization which won't happen.
Hence it will not scale it out.

We should suggest to keep CPU request for Fluentd be 1000m at most.

@perk-sumo perk-sumo added this to the v2.6 milestone Feb 10, 2022
@perk-sumo perk-sumo requested a review from a team as a code owner February 10, 2022 11:43
@pmalek-sumo
Copy link
Contributor

I'm not sure if comment is enough. How about adding a section to docs? Performance or best practices?

@perk-sumo perk-sumo force-pushed the perk-add-fluentd-cpu-limit-warn branch from bb4bcf5 to 03a92f3 Compare February 10, 2022 12:00
@github-actions github-actions bot added the documentation documentation label Feb 10, 2022
@perk-sumo perk-sumo force-pushed the perk-add-fluentd-cpu-limit-warn branch 2 times, most recently from b89b728 to d3047f7 Compare February 10, 2022 12:03
deploy/docs/Best_Practices.md Outdated Show resolved Hide resolved
deploy/docs/Best_Practices.md Outdated Show resolved Hide resolved
@perk-sumo perk-sumo force-pushed the perk-add-fluentd-cpu-limit-warn branch 3 times, most recently from c423d90 to edbca15 Compare February 11, 2022 08:54
@perk-sumo perk-sumo merged commit 522ed33 into main Feb 11, 2022
@perk-sumo perk-sumo deleted the perk-add-fluentd-cpu-limit-warn branch February 11, 2022 09:04
@perk-sumo perk-sumo changed the title chore: add warning for increased cpu limit for Fluentds chore: add warning for increased cpu requests for Fluentds Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants