spotahome / redis-operator

Redis Operator creates/configures/manages high availability redis with sentinel automatic failover atop Kubernetes.
Apache License 2.0
1.49k stars 356 forks source link

Expect surge in running pods and avoid redis public expose #646

Closed ese closed 10 months ago

ese commented 10 months ago

Service to access directly master and slaves instances in Redis was added in #627, This exposes the service publicly using loadBalancers. To make it security by default the service is changed to only expose internally in the cluster. Let the user to create their ow service if exposing publicly is the option until its available in the operator by a config set.

Running pods can surge the number of expected replicas during rollouts of a deployment change in sentinels, while a new version of the template is deployed. In anycase we will always consider not running while there are pods terminating or pending .