Skip to content

feat: expose pod management policy for workloads#8119

Merged
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
simonpasquier:fix-2753
Dec 2, 2025
Merged

feat: expose pod management policy for workloads#8119
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
simonpasquier:fix-2753

Conversation

@simonpasquier
Copy link
Contributor

@simonpasquier simonpasquier commented Nov 26, 2025

Description

This commit introduces a new podManagementPolicy field for statefulset-based workloads (Prometheus, PrometheusAgent, Alertmanager and ThanosRuler). While the default will still be Parallel, users have expressed the need to use OrderedReady in specific situations.

Closes #2753

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.


@simonpasquier simonpasquier requested a review from a team as a code owner November 26, 2025 13:39
@simonpasquier simonpasquier force-pushed the fix-2753 branch 3 times, most recently from bc5841c to 3f9d33a Compare November 28, 2025 13:54
This commit introduces a new `podManagementPolicy` field for
statefulset-based workloads (Prometheus, PrometheusAgent, Alertmanager
and ThanosRuler). While the default will still be `Parallel`, users have
expressed the need to use `OrderedReady` in specific situations.

Closes prometheus-operator#2753

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Copy link
Contributor

@slashpai slashpai left a comment

Choose a reason for hiding this comment

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

very nice feature 🎉

@simonpasquier simonpasquier merged commit d225cdc into prometheus-operator:main Dec 2, 2025
36 of 38 checks passed
@simonpasquier simonpasquier deleted the fix-2753 branch December 2, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podManagementPolicy: Parallel forces Alertmanagers to have PVCs and Prometheus pairs to lose HA

2 participants