OT-CONTAINER-KIT / redis-operator

A golang based redis operator that will make/oversee Redis standalone/cluster/replication/sentinel mode setup on top of the Kubernetes.
https://ot-redis-operator.netlify.app/
Apache License 2.0
734 stars 207 forks source link

fix: redis cluster update as scale out #872

Closed drivebyer closed 2 months ago

drivebyer commented 2 months ago

Description

Fix redis cluster status not updated when scale out cluster size.

more: it's ok about to remove the statefulset assert step && ping pod step. We can test these only by redis cluster status

Type of change

Checklist

Additional Context

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 38.70%. Comparing base (d121d86) to head (068d5a3). Report is 24 commits behind head on master.

Files Patch % Lines
controllers/rediscluster_controller.go 50.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #872 +/- ## ========================================== + Coverage 35.20% 38.70% +3.50% ========================================== Files 19 19 Lines 3213 2656 -557 ========================================== - Hits 1131 1028 -103 + Misses 2015 1559 -456 - Partials 67 69 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.