mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
Give the ability to add some extra seeds to Cassandra (#5172)
Co-authored-by: Jan Mederer <jme@adorsys.de>
This commit is contained in:
@@ -23,4 +23,4 @@ name: cassandra
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-cassandra
|
||||
- http://cassandra.apache.org
|
||||
version: 7.1.5
|
||||
version: 7.1.6
|
||||
|
||||
@@ -85,6 +85,7 @@ The following table lists the configurable parameters of the Cassandra chart and
|
||||
| `existingConfiguration` | Pointer to a configMap that contains custom Cassandra configuration files. This will override any Cassandra configuration variable set in the chart | `nil` (evaluated as a template) |
|
||||
| `cluster.name` | Cassandra cluster name | `cassandra` |
|
||||
| `cluster.seedCount` | Number of seed nodes (note: must be greater or equal than 1 and less or equal to `replicaCount`) | `1` |
|
||||
| `cluster.extraSeeds` | For an external/second cassandra ring. Seed list will be appended by this. | `[]` |
|
||||
| `cluster.numTokens` | Number of tokens for each node | `256` |
|
||||
| `cluster.datacenter` | Datacenter name | `dc1` |
|
||||
| `cluster.rack` | Rack name | `rack1` |
|
||||
|
||||
@@ -40,6 +40,9 @@ Return the list of Cassandra seed nodes
|
||||
{{- range $e, $i := until $seedCount }}
|
||||
{{- $seeds = append $seeds (printf "%s-%d.%s-headless.%s.svc.%s" $fullname $i $fullname $releaseNamespace $clusterDomain) }}
|
||||
{{- end }}
|
||||
{{- range .Values.cluster.extraSeeds }}
|
||||
{{- $seeds = append $seeds . }}
|
||||
{{- end }}
|
||||
{{- join "," $seeds }}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -179,6 +179,11 @@ cluster:
|
||||
##
|
||||
internodeEncryption: none
|
||||
clientEncryption: false
|
||||
## extraSeeds - For an external/second cassandra ring. Seed list will be appended by this.
|
||||
##
|
||||
# extraSeeds:
|
||||
# - hostname/IP
|
||||
# - hostname/IP
|
||||
|
||||
## JVM Settings
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user