mirror of
https://github.com/bitnami/containers.git
synced 2026-02-18 12:27:16 +08:00
[bitnami/redis-cluster] Release 6.2.14-debian-11-r7 (#56240)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -7,10 +7,10 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2024-01-31T20:39:36Z" \
|
||||
org.opencontainers.image.created="2024-02-02T14:38:00Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="6.2.14-debian-11-r6" \
|
||||
org.opencontainers.image.ref.name="6.2.14-debian-11-r7" \
|
||||
org.opencontainers.image.title="redis-cluster" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="6.2.14"
|
||||
|
||||
@@ -217,30 +217,6 @@ Where you can add all the `node:port` that you want. The `--cluster-replicas` pa
|
||||
Depending on the environment you're deploying into, you might run into issues where the cluster initialization is not completing successfully. One of the issue is related to the DNS lookup of the redis nodes performed during cluster initialization. By default, this DNS lookup is performed as soon as all the redis nodes reply to a successful ping.
|
||||
However, in some environments such as Kubernetes, it can help to wait some time before performing this DNS lookup in order to prevent getting stale records. To this end, you can increase `REDIS_CLUSTER_SLEEP_BEFORE_DNS_LOOKUP` to a value around `30` which has been found to be good in most cases.
|
||||
|
||||
### Enable RDB persistence and set policies
|
||||
|
||||
When using RDB persistence and configuring related persistence strategies, it will be special. You need to use `#` to separate parameters.
|
||||
|
||||
1. Using `docker run`
|
||||
|
||||
```console
|
||||
$ docker run --name redis-cluster \
|
||||
-e REDIS_RDB_POLICY_DISABLED="900#1 300#10 60#10000" \
|
||||
bitnami/redis-cluster:latest
|
||||
```
|
||||
|
||||
2. Add parameters to the `docker-compose.yml` file present in this repository:
|
||||
|
||||
```yaml
|
||||
redis-cluster:
|
||||
...
|
||||
environment:
|
||||
...
|
||||
- REDIS_RDB_POLICY_DISABLED="900#1 300#10 60#10000"
|
||||
...
|
||||
...
|
||||
```
|
||||
|
||||
### Securing Redis(R) Cluster traffic
|
||||
|
||||
Starting with version 6, Redis(R) adds the support for SSL/TLS connections. Should you desire to enable this optional feature, you may use the aforementioned `REDIS_TLS_*` environment variables to configure the application.
|
||||
|
||||
Reference in New Issue
Block a user