bitnami / charts

Bitnami Helm Charts

Home Page:https://bitnami.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bitnami/redis] Can Redis provide a fixed external address for access

QQandWX opened this issue · comments

Name and Version

bitnami/redis

What is the problem this feature will solve?

i use redis-sentinel helm chart, deploy one master, two slaves.

 The output log after install redis-sentinel helm chart:
===========================
Redis® can be accessed via port 6379 on the following DNS name from within your cluster:
    redis.redis.svc.cluster.local for read only operations
For read/write operations, first access the Redis® Sentinel cluster, which is available in port 26379 using the same domain name above.
============================

According to the log above,it said the redis service ip(redis.redis.svc.cluster.local) can only used for ead only operations.

Questions:

  1. For write operations, use Sentinel cluster? can Sentinel forward the write operations to the redis master?

  2. Can Redis provide a fixed external address for access? the address can handle read/write operations.

What is the feature you are proposing to solve the problem?

Is there a way to achieve read-write separation while providing a fixed IP address

What alternatives have you considered?

No response

Hi.

We have this feature but it's experimental at the moment, so use it with caution

| `sentinel.masterService.enabled`                             | Enable master service pointing to the current master (experimental)                                                                                                                                                                 | `false`                          |