Skip to content

fix(chart): refuse more than one manager replica without leader election - #177

Merged
maks3201 merged 6 commits into
mainfrom
fix/chart-ha-leader-election
Oct 12, 2026
Merged

maks3201 merged 6 commits into
mainfrom
fix/chart-ha-leader-election

Conversation

@maks3201

Copy link
Copy Markdown
Owner

With replicaCount > 1 and leaderElection: false every manager replica reconciled the same DecisionModels at once. The chart now fails to render that combination with a clear message and documents the HA setup in the README. Verified with helm lint and helm template: defaults and replicaCount=2 render; replicaCount=2 with leaderElection=false fails.

@maks3201
maks3201 requested a review from Ami-inka as a code owner October 12, 2026 13:02
@maks3201
maks3201 enabled auto-merge (squash) October 12, 2026 13:02
@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@maks3201
maks3201 merged commit a3ae3af into main Oct 12, 2026
27 checks passed
@maks3201
maks3201 deleted the fix/chart-ha-leader-election branch October 12, 2026 21:40
maks3201 pushed a commit that referenced this pull request Oct 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.5.1](v0.5.0...v0.5.1)
(2026-10-13)


### Bug Fixes

* bound Recreate stable-stop wait
([#165](#165))
([aa80a7b](aa80a7b))
* **chart:** refuse more than one manager replica without leader
election
([#177](#177))
([a3ae3af](a3ae3af))
* clear the Recreate stop marker when the spec returns to a failed
revision
([2e06304](2e06304))
* do not fail a prefetch as DigestMismatch when the manifest cannot be
read
([#174](#174))
([fad7194](fad7194))
* do not park a candidate for manual approval while the stable is
stopped for a Recreate rollout
([660d49c](660d49c))
* do not re-render a legacy stable when its Deployment cannot be read
([2e06304](2e06304))
* drop the candidate manifest when the spec reverts to a failed revision
([#176](#176))
([3abaa9e](3abaa9e))
* end the store and load stabilization grace at promotion plus the
Starting timeout
([#178](#178))
([824fd51](824fd51))
* finish a Recreate rollout as Recreate after the stable is stopped,
including a replacement candidate
([2e06304](2e06304))
* keep a freshly promoted stable while its store recovers or its model
loads
([#173](#173))
([4f3a0c4](4f3a0c4))
* keep admission-added Service port fields instead of rewriting them
every reconcile
([2e06304](2e06304))
* remove the manifest ConfigMap of a candidate whose admission did not
persist
([660d49c](660d49c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants