Skip to content

feat: Redis cluster pod anti affinity #1174#1175

Closed
xiaozhuang-a wants to merge 21 commits intoOT-CONTAINER-KIT:masterfrom
xiaozhuang-a:pod-anti-affinity
Closed

feat: Redis cluster pod anti affinity #1174#1175
xiaozhuang-a wants to merge 21 commits intoOT-CONTAINER-KIT:masterfrom
xiaozhuang-a:pod-anti-affinity

Conversation

@xiaozhuang-a
Copy link
Copy Markdown
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 <xiaozhuang@minimaxi.com>
…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 <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
… daily to monthly for gomod and github-actions

Signed-off-by: yangw <wuyangmuc@gmail.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
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] <support@github.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
<!--
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 <xiaozhuang@minimaxi.com>
…-CONTAINER-KIT#1173)

Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Co-authored-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
Signed-off-by: xiaozhuang <xiaozhuang@minimaxi.com>
@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