mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
[bitnami/redis-cluster bitnami/redis] Add note about how to choose between both charts (#2287)
* [bitnami/redis-cluster bitnami/redis] Add note about how to choose between both charts * Add documentation about how to choose between Charts * Add note to Redis Helm Chart * Fix issue with labels * Bump major version * Update notable changes in the README.md
This commit is contained in:
committed by
GitHub
parent
734e060a34
commit
58a194211e
@@ -1,3 +1,21 @@
|
||||
.git
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis-cluster
|
||||
version: 1.0.1
|
||||
version: 2.0.0
|
||||
appVersion: 5.0.8
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
# Redis
|
||||
# Redis Cluster
|
||||
|
||||
[Redis](http://redis.io/) is an advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.
|
||||
|
||||
@@ -21,6 +21,18 @@ This chart bootstraps a [Redis](https://github.com/bitnami/bitnami-docker-redis)
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the [BKPR](https://kubeprod.io/).
|
||||
|
||||
### Choose between Redis Helm Chart and Redis Cluster Helm Chart
|
||||
|
||||
You can choose any of the two Redis Helm charts for deploying a Redis cluster.
|
||||
While [Redis Helm Chart](https://github.com/bitnami/charts/tree/master/bitnami/redis) will deploy a master-slave cluster using Redis Sentinel, the [Redis Cluster Helm Chart](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) will deploy a Redis Cluster topology with sharding.
|
||||
The main features of each chart are the following:
|
||||
| Redis | Redis Cluster |
|
||||
| ----------------------------------------- | ----------------------------------------------------------- |
|
||||
| Supports multiple databases | Supports only one database. Better if you have a big dataset |
|
||||
| Single write point (single master) | Multiple write points (multiple masters) |
|
||||
|  |  |
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.12+
|
||||
@@ -446,3 +458,9 @@ networkPolicy:
|
||||
ingressNSPodMatchLabels:
|
||||
redis-client: true
|
||||
```
|
||||
|
||||
## Notable changes
|
||||
|
||||
### 2.0.0
|
||||
|
||||
The version `1.0.0` was using a label in the Statefulset's volumeClaimTemplate that didn't allow to upgrade the chart. The version `2.0.0` fixed that issue. Also it adds more docs in the README.md.
|
||||
|
||||
BIN
bitnami/redis-cluster/img/redis-cluster-topology.png
Normal file
BIN
bitnami/redis-cluster/img/redis-cluster-topology.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
bitnami/redis-cluster/img/redis-topology.png
Normal file
BIN
bitnami/redis-cluster/img/redis-topology.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
@@ -10,7 +10,7 @@ Expand the name of the chart.
|
||||
Expand the chart plus release name (used by the chart label)
|
||||
*/}}
|
||||
{{- define "redis-cluster.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
||||
@@ -305,7 +305,6 @@ spec:
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: redis-data
|
||||
labels: {{- include "redis-cluster.labels" . | nindent 10 }}
|
||||
spec:
|
||||
accessModes:
|
||||
{{- range .Values.persistence.accessModes }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 10.6.5
|
||||
version: 10.6.6
|
||||
appVersion: 5.0.8
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
# Redis
|
||||
|
||||
[Redis](http://redis.io/) is an advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.
|
||||
@@ -23,6 +22,17 @@ This chart bootstraps a [Redis](https://github.com/bitnami/bitnami-docker-redis)
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the [BKPR](https://kubeprod.io/).
|
||||
|
||||
### Choose between Redis Helm Chart and Redis Cluster Helm Chart
|
||||
|
||||
You can choose any of the two Redis Helm charts for deploying a Redis cluster.
|
||||
While [Redis Helm Chart](https://github.com/bitnami/charts/tree/master/bitnami/redis) will deploy a master-slave cluster using Redis Sentinel, the [Redis Cluster Helm Chart](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) will deploy a Redis Cluster topology with sharding.
|
||||
The main features of each chart are the following:
|
||||
| Redis | Redis Cluster |
|
||||
| ----------------------------------------- | ----------------------------------------------------------- |
|
||||
| Supports multiple databases | Supports only one database. Better if you have a big dataset |
|
||||
| Single write point (single master) | Multiple write points (multiple masters) |
|
||||
|  |  |
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.12+
|
||||
|
||||
BIN
bitnami/redis/img/redis-cluster-topology.png
Normal file
BIN
bitnami/redis/img/redis-cluster-topology.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
bitnami/redis/img/redis-topology.png
Normal file
BIN
bitnami/redis/img/redis-topology.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
Reference in New Issue
Block a user