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 thanos compact cpu and memory limits #2383

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

brianmcarey
Copy link
Member

@brianmcarey brianmcarey commented Oct 12, 2022

From monitoring the thanos compact pod, it can be seen that the CPU[1] and memory[2] usage consistently hits the limits allowed. Increasing these limits should improve the compaction performance.

The pod is being killed due to being out of memory:

kubectl get pods -n monitoring | grep compact
thanos-compact-0                                         1/1     Running   22 (9m39s ago)   5d
kubectl describe pod -n monitoring thanos-compact-0 | grep Reason
      Reason:    OOMKilled

[1]
Screenshot from 2022-10-12 08-56-38

[2]
Screenshot from 2022-10-12 08-56-57

/cc @xpivarc @dhiller @brybacki

Signed-off-by: Brian Carey bcarey@redhat.com

From monitoring the thanos compact pod, it can be seen that the CPU
and memory usage consistently hits the limits allowed. Increasing these
limits should improve the compaction performance.

Signed-off-by: Brian Carey <bcarey@redhat.com>
@kubevirt-bot kubevirt-bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/XS labels Oct 12, 2022
Copy link
Contributor

@dhiller dhiller left a comment

Choose a reason for hiding this comment

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

/approve

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 18, 2022
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhiller

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 18, 2022
@dhiller
Copy link
Contributor

dhiller commented Oct 18, 2022

Possibly related: thanos-io/thanos#297

@kubevirt-bot kubevirt-bot merged commit 3938da8 into kubevirt:main Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants