bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.96k stars 9.19k forks source link

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

Closed QQandWX closed 1 month ago

QQandWX commented 2 months ago

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

QQandWX commented 2 months ago

image

javsalgar commented 2 months ago

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`                          |
github-actions[bot] commented 1 month ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 1 month ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.