Skip to content

feat(operator): Add Role::{fixed,estimated}_replica_count#1241

Merged
sbernauer merged 8 commits into
mainfrom
feat/replica-count-calculation
Jul 6, 2026
Merged

feat(operator): Add Role::{fixed,estimated}_replica_count#1241
sbernauer merged 8 commits into
mainfrom
feat/replica-count-calculation

Conversation

@sbernauer

@sbernauer sbernauer commented Jul 2, 2026

Copy link
Copy Markdown
Member

Description

Needed for stackabletech/nifi-operator#953, we can then also use it in https://github.com/stackabletech/trino-operator/blob/3158402b23edde1633b2639eb50c67bb1b41889c/rust/operator-binary/src/crd/mod.rs#L918

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added

@sbernauer sbernauer changed the title Feat/replica count calculation feat: Add Role::fixed_replica_count and Role::estimated_replica_count helper functions Jul 2, 2026
@sbernauer sbernauer changed the title feat: Add Role::fixed_replica_count and Role::estimated_replica_count helper functions feat: Add Role::fixed_replica_count and Role::estimated_replica_count Jul 2, 2026
@sbernauer sbernauer self-assigned this Jul 2, 2026
@sbernauer sbernauer moved this to Development: Waiting for Review in Stackable Engineering Jul 2, 2026
Comment thread crates/stackable-operator/src/role_utils.rs Outdated
Comment thread crates/stackable-operator/src/role_utils.rs
Comment thread crates/stackable-operator/src/role_utils.rs
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Jul 2, 2026
@Techassi Techassi changed the title feat: Add Role::fixed_replica_count and Role::estimated_replica_count feat(operator): Add Role::{fixed,estimated}_replica_count Jul 2, 2026
Co-authored-by: Techassi <git@techassi.dev>
@sbernauer
sbernauer requested a review from Techassi July 2, 2026 10:29
Comment thread crates/stackable-operator/src/role_utils.rs Outdated
@sbernauer
sbernauer requested a review from lfrancke July 2, 2026 10:56
@sbernauer
sbernauer added this pull request to the merge queue Jul 6, 2026
@sbernauer sbernauer moved this from Development: In Review to Development: Done in Stackable Engineering Jul 6, 2026
Merged via the queue into main with commit ce78136 Jul 6, 2026
5 checks passed
@sbernauer
sbernauer deleted the feat/replica-count-calculation branch July 6, 2026 07:48
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants