mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 08:47:24 +08:00
[bitnami/elasticsearch] Use 3 master nodes by default (#6587)
* Default master replicas to 3 * Document default master replicas * Update chart version. Indicate new feature. * Link to elasticsearch documentation in README.md
This commit is contained in:
committed by
GitHub
parent
c6aeae0a3e
commit
65735b2a8e
@@ -25,4 +25,4 @@ name: elasticsearch
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-elasticsearch
|
||||
- https://www.elastic.co/products/elasticsearch
|
||||
version: 15.3.1
|
||||
version: 15.4.0
|
||||
|
||||
@@ -91,7 +91,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|
|
||||
| `master.name` | Master-eligible node pod name | `master` |
|
||||
| `master.replicas` | Desired number of Elasticsearch master-eligible nodes | `2` |
|
||||
| `master.replicas` | Desired number of Elasticsearch master-eligible nodes. Consider using an odd number of master nodes to prevent "split brain" situation. See: https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-discovery-voting.html#_even_numbers_of_master_eligible_nodes | `3` |
|
||||
| `master.updateStrategy.type` | Update strategy for Master statefulset | `RollingUpdate` |
|
||||
| `master.heapSize` | Master-eligible node heap size | `128m` |
|
||||
| `master.service.type` | Kubernetes Service type (master-eligible nodes) | `ClusterIP` |
|
||||
|
||||
@@ -186,9 +186,12 @@ extraEnvVarsSecret:
|
||||
##
|
||||
master:
|
||||
name: master
|
||||
## Number of master-eligible node(s) replicas to deploy
|
||||
## Number of master-eligible node(s) replicas to deploy.
|
||||
## "There should normally be an odd number of master-eligible nodes in a cluster" to address "split brain" scenario.
|
||||
## https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-discovery-voting.html#_even_numbers_of_master_eligible_nodes
|
||||
## https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-discovery-quorums.html#modules-discovery-quorums
|
||||
##
|
||||
replicas: 2
|
||||
replicas: 3
|
||||
|
||||
## updateStrategy for ElasticSearch master statefulset
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
|
||||
Reference in New Issue
Block a user