Skip to content

Allow reconciling from multiple replicas#365

Merged
fahedouch merged 2 commits intocrossplane-contrib:mainfrom
julsemaan:multi-replicas
Apr 22, 2025
Merged

Allow reconciling from multiple replicas#365
fahedouch merged 2 commits intocrossplane-contrib:mainfrom
julsemaan:multi-replicas

Conversation

@julsemaan
Copy link
Copy Markdown
Contributor

Description of your changes

This allows to run multiple replicas of provider-ansible within the same deployment and all replicas will use leases to select a shard on which they will work. Consistent hashing on the resource name is then used for shards to filter on which AnsibleRuns they should reconcile

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

@fahedouch
Copy link
Copy Markdown
Collaborator

please sign your comments for valid DCO

@julsemaan julsemaan force-pushed the multi-replicas branch 3 times, most recently from c4ce116 to eaf826c Compare March 17, 2025 15:24
@julsemaan
Copy link
Copy Markdown
Contributor Author

@fahedouch

Thanks for the comments and the review. I've pushed adjustments and replied to your comments where appropriate. Let me know what you think. Thanks!

@julsemaan julsemaan force-pushed the multi-replicas branch 2 times, most recently from cd6127d to 054d786 Compare April 15, 2025 13:18
@fahedouch fahedouch added this to the v0.6.1 milestone Apr 20, 2025
Signed-off-by: Julien Semaan <jul.semaan@gmail.com>
Signed-off-by: Julien Semaan <jul.semaan@gmail.com>
Copy link
Copy Markdown
Collaborator

@fahedouch fahedouch left a comment

Choose a reason for hiding this comment

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

Thanks

@fahedouch fahedouch merged commit 5582a0c into crossplane-contrib:main Apr 22, 2025
7 checks passed
@ahsanfz
Copy link
Copy Markdown

ahsanfz commented Jan 20, 2026

What about documentation about how to use this feature ?

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.

4 participants