Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Conversation

@pracucci
Copy link
Collaborator

@pracucci pracucci commented Apr 2, 2021

What this PR does:
We have an use case where we need a custom compactor deployment. Similarly to what we did with newIngesterStatefulSet() function, in this PR I'm proposing to add newCompactorStatefulSet() function to allow to create a 2nd statefulset for the compactor.

I've also updated the compactor dashboards to allow to customize the compactor job name, like we already do for other services (eg. see the ingester one).

Which issue(s) this PR fixes:
N/A

Checklist

  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pracucci pracucci requested a review from a team as a code owner April 2, 2021 07:51
$.containerCPUUsagePanel('CPU', 'compactor'),
)
.addPanel(
$.containerMemoryWorkingSetPanel('Memory (workingset)', 'compactor'),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No change here because this function wants the container name not the job name (same for CPU panel). The container name doesn't change when you customize the statefulset.

Copy link
Contributor

@annanay25 annanay25 left a comment

Choose a reason for hiding this comment

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

LGTM!

@pracucci pracucci merged commit 5980441 into main Apr 2, 2021
@pracucci pracucci deleted the add-function-to-create-compactor-statefulset branch April 2, 2021 08:08
simonswine pushed a commit to grafana/mimir that referenced this pull request Oct 18, 2021
…on-to-create-compactor-statefulset

Add function to customize compactor statefulset
simonswine pushed a commit to grafana/mimir that referenced this pull request Dec 20, 2021
…on-to-create-compactor-statefulset

Add function to customize compactor statefulset
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants