diff --git a/operator/redisfailover/service/client.go b/operator/redisfailover/service/client.go index ed6567bda..d5c9b545c 100644 --- a/operator/redisfailover/service/client.go +++ b/operator/redisfailover/service/client.go @@ -147,7 +147,7 @@ func (r *RedisFailoverKubeClient) ensurePodDisruptionBudget(rf *redisfailoverv1. minAvailable := intstr.FromInt(2) if rf.Spec.Redis.Replicas <= 2 { - minAvailable = intstr.FromInt(int(rf.Spec.Redis.Replicas - 1)) + minAvailable = intstr.FromInt(1) } labels = util.MergeLabels(labels, generateSelectorLabels(component, rf.Name))