Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Redis cluster pod anti affinity #1174 #1175

Closed

Conversation

xiaozhuang-a
Copy link
Contributor

Description

support leader and follower anti affinity of pods with the same order

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

Additional Context

iamabhishek-dubey and others added 21 commits December 18, 2024 17:27
Signed-off-by: xiaozhuang <[email protected]>
…tus columns and refactor reconciliation logic

- Added new printer columns "Master" and "Age" to the RedisReplication CRD for better visibility of the master node and resource age.
- Refactored the reconciliation logic in the RedisReplication controller to improve clarity and maintainability by introducing a reconciler struct for handling different reconciliation tasks.
- Updated the e2e tests to validate the HA setup of Redis Replication and Sentinel, ensuring consistency in master IP across different sources.
- Removed obsolete test files and replaced them with a new HA setup configuration.

This update improves the usability and reliability of the Redis replication feature.

Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: drivebyer <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
… daily to monthly for gomod and github-actions

Signed-off-by: yangw <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.1 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.20.1...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
<!--
Please read
https://github.com/OT-CONTAINER-KIT/redis-operator/blob/master/CONTRIBUTING.md
before submitting
your pull request. Please fill in each section below to help us better
prioritize your pull request. Thanks!
-->

**Description**

<!-- Please provide a summary of the change here. -->

Support PDB in redisreplication

**Type of change**

<!-- Please delete options that are not relevant. -->

* Bug fix (non-breaking change which fixes an issue)
* New feature (non-breaking change which adds functionality)
* Breaking change (fix or feature that would cause existing
functionality to not work as expected)

**Checklist**

- [ ] Tests have been added/modified and all tests pass.
- [ ] Functionality/bugs have been confirmed to be unchanged or fixed.
- [x] I have performed a self-review of my own code.
- [ ] Documentation has been updated or added where necessary.

**Additional Context**

<!--
    Is there anything else you'd like reviewers to know?
    For example, any other related issues or testing carried out.
-->

Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
Signed-off-by: xiaozhuang <[email protected]>
@xiaozhuang-a xiaozhuang-a deleted the pod-anti-affinity branch December 18, 2024 11:36
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