Skip to content

controller: set replicas if not set#517

Merged
Madhu-1 merged 1 commit into
ceph:mainfrom
Madhu-1:fix-499
Jun 24, 2026
Merged

controller: set replicas if not set#517
Madhu-1 merged 1 commit into
ceph:mainfrom
Madhu-1:fix-499

Conversation

@Madhu-1

@Madhu-1 Madhu-1 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

If the replica count is not set in the CR set the replica count to 2 if the number of nodes is > 1 or if its single node cluster set the replica count to 1.

fixes: #499

@Madhu-1 Madhu-1 force-pushed the fix-499 branch 3 times, most recently from 702a1c5 to 5068921 Compare June 23, 2026 11:43
@mergify

mergify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Comment thread internal/controller/driver_controller.go
Comment thread internal/controller/driver_controller.go
If the replica count is not set in the CR
set the replica count to 2 if the number of nodes
is > 1 or if its single node cluster set the
replica count to 1.

fixes: ceph#499

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@Madhu-1 Madhu-1 merged commit 5dd6fb6 into ceph:main Jun 24, 2026
21 checks passed
@Madhu-1

Madhu-1 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport release-1.0

@mergify

mergify Bot commented Jun 30, 2026

Copy link
Copy Markdown

backport release-1.0

✅ Backports have been created

Details

Madhu-1 added a commit that referenced this pull request Jul 1, 2026
controller: set replicas if not set (backport #517)
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.

Only deploy one controller plugin replica in single-node clusters

2 participants