Skip to content

Commit

Permalink
[bitnami/elasticsearch] Enable PodDisruptionBudgets (#26691)
Browse files Browse the repository at this point in the history
* [bitnami/elasticsearch] Enable PodDisruptionBudgets

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Fran Mulero <fmulero@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
  • Loading branch information
fmulero and bitnami-bot authored Jun 6, 2024
1 parent 2b1b982 commit 60d3793
Showing 8 changed files with 31 additions and 27 deletions.
8 changes: 6 additions & 2 deletions bitnami/elasticsearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 21.1.3 (2024-06-05)
## 21.2.0 (2024-06-06)

* [bitnami/elasticsearch] Release 21.1.3 ([#26875](https://github.com/bitnami/charts/pull/26875))
* [bitnami/elasticsearch] Enable PodDisruptionBudgets ([#26691](https://github.com/bitnami/charts/pull/26691))

## <small>21.1.3 (2024-06-05)</small>

* [bitnami/elasticsearch] Release 21.1.3 (#26875) ([d8486c1](https://github.com/bitnami/charts/commit/d8486c1dd36cba974f911ee86007bbd634c208df)), closes [#26875](https://github.com/bitnami/charts/issues/26875)

## <small>21.1.2 (2024-06-05)</small>

2 changes: 1 addition & 1 deletion bitnami/elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -34,4 +34,4 @@ maintainers:
name: elasticsearch
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
version: 21.1.3
version: 21.2.0
16 changes: 8 additions & 8 deletions bitnami/elasticsearch/README.md
Original file line number Diff line number Diff line change
@@ -356,8 +356,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| `master.masterOnly` | Deploy the Elasticsearch master-elegible nodes as master-only nodes. Recommended for high-demand deployments. | `true` |
| `master.replicaCount` | Number of master-elegible replicas to deploy | `2` |
| `master.extraRoles` | Append extra roles to the node role | `[]` |
| `master.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `master.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `master.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `master.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `master.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `master.nameOverride` | String to partially override elasticsearch.master.fullname | `""` |
| `master.fullnameOverride` | String to fully override elasticsearch.master.fullname | `""` |
@@ -461,8 +461,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| `data.replicaCount` | Number of data-only replicas to deploy | `2` |
| `data.extraRoles` | Append extra roles to the node role | `[]` |
| `data.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `data.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `data.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `data.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `data.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `data.nameOverride` | String to partially override elasticsearch.data.fullname | `""` |
| `data.fullnameOverride` | String to fully override elasticsearch.data.fullname | `""` |
@@ -566,8 +566,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| `coordinating.replicaCount` | Number of coordinating-only replicas to deploy | `2` |
| `coordinating.extraRoles` | Append extra roles to the node role | `[]` |
| `coordinating.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `coordinating.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `coordinating.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `coordinating.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `coordinating.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `coordinating.nameOverride` | String to partially override elasticsearch.coordinating.fullname | `""` |
| `coordinating.fullnameOverride` | String to fully override elasticsearch.coordinating.fullname | `""` |
@@ -664,8 +664,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
| `ingest.enabled` | Enable ingest nodes | `true` |
| `ingest.replicaCount` | Number of ingest-only replicas to deploy | `2` |
| `ingest.extraRoles` | Append extra roles to the node role | `[]` |
| `ingest.pdb.create` | Enable/disable a Pod Disruption Budget creation | `false` |
| `ingest.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `1` |
| `ingest.pdb.create` | Enable/disable a Pod Disruption Budget creation | `true` |
| `ingest.pdb.minAvailable` | Minimum number/percentage of pods that should remain scheduled | `""` |
| `ingest.pdb.maxUnavailable` | Maximum number/percentage of pods that may be made unavailable | `""` |
| `ingest.nameOverride` | String to partially override elasticsearch.ingest.fullname | `""` |
| `ingest.fullnameOverride` | String to fully override elasticsearch.ingest.fullname | `""` |
4 changes: 2 additions & 2 deletions bitnami/elasticsearch/templates/coordinating/pdb.yaml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ spec:
{{- if .Values.coordinating.pdb.minAvailable }}
minAvailable: {{ .Values.coordinating.pdb.minAvailable }}
{{- end }}
{{- if .Values.coordinating.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.coordinating.pdb.maxUnavailable }}
{{- if or .Values.coordinating.pdb.maxUnavailable ( not .Values.coordinating.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.coordinating.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.coordinating.podLabels .Values.commonLabels ) "context" . ) }}
selector:
4 changes: 2 additions & 2 deletions bitnami/elasticsearch/templates/data/pdb.yaml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ spec:
{{- if .Values.data.pdb.minAvailable }}
minAvailable: {{ .Values.data.pdb.minAvailable }}
{{- end }}
{{- if .Values.data.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.data.pdb.maxUnavailable }}
{{- if or .Values.data.pdb.maxUnavailable ( not .Values.data.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.data.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.data.podLabels .Values.commonLabels ) "context" . ) }}
selector:
4 changes: 2 additions & 2 deletions bitnami/elasticsearch/templates/ingest/pdb.yaml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ spec:
{{- if .Values.ingest.pdb.minAvailable }}
minAvailable: {{ .Values.ingest.pdb.minAvailable }}
{{- end }}
{{- if .Values.ingest.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.ingest.pdb.maxUnavailable }}
{{- if or .Values.ingest.pdb.maxUnavailable ( not .Values.ingest.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.ingest.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.ingest.podLabels .Values.commonLabels ) "context" . ) }}
selector:
4 changes: 2 additions & 2 deletions bitnami/elasticsearch/templates/master/pdb.yaml
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ spec:
{{- if .Values.master.pdb.minAvailable }}
minAvailable: {{ .Values.master.pdb.minAvailable }}
{{- end }}
{{- if .Values.master.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.master.pdb.maxUnavailable }}
{{- if or .Values.master.pdb.maxUnavailable ( not .Values.master.pdb.minAvailable ) }}
maxUnavailable: {{ .Values.master.pdb.maxUnavailable | default 1 }}
{{- end }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.master.podLabels .Values.commonLabels ) "context" . ) }}
selector:
16 changes: 8 additions & 8 deletions bitnami/elasticsearch/values.yaml
Original file line number Diff line number Diff line change
@@ -476,8 +476,8 @@ master:
## @param master.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## @param master.nameOverride String to partially override elasticsearch.master.fullname
##
@@ -873,8 +873,8 @@ data:
## @param data.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## @param data.nameOverride String to partially override elasticsearch.data.fullname
##
@@ -1267,8 +1267,8 @@ coordinating:
## @param coordinating.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## @param coordinating.nameOverride String to partially override elasticsearch.coordinating.fullname
##
@@ -1624,8 +1624,8 @@ ingest:
## @param ingest.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
##
pdb:
create: false
minAvailable: 1
create: true
minAvailable: ""
maxUnavailable: ""
## @param ingest.nameOverride String to partially override elasticsearch.ingest.fullname
##

0 comments on commit 60d3793

Please sign in to comment.