Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/redis-cluster] feat: Set custom terminationGracePeriodSeconds for redis #30470

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions bitnami/redis-cluster/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 11.0.8 (2024-11-11)
## 11.1.0 (2024-11-26)

* [bitnami/redis-cluster] Release 11.0.8 ([#30406](https://github.com/bitnami/charts/pull/30406))
* [bitnami/redis-cluster] feat: Set custom terminationGracePeriodSeconds for redis ([#30470](https://github.com/bitnami/charts/pull/30470))

## <small>11.0.8 (2024-11-11)</small>

* [bitnami/redis-cluster] Release 11.0.8 (#30406) ([03bdf29](https://github.com/bitnami/charts/commit/03bdf29b58fb4f1d4d9561d7654d39fc5e8e7ffd)), closes [#30406](https://github.com/bitnami/charts/issues/30406)

## <small>11.0.7 (2024-11-08)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/redis-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ maintainers:
name: redis-cluster
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redis-cluster
version: 11.0.8
version: 11.1.0
1 change: 1 addition & 0 deletions bitnami/redis-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ See [#15075](https://github.com/bitnami/charts/issues/15075)
| `redis.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `redis.schedulerName` | Use an alternate scheduler, e.g. "stork". | `""` |
| `redis.shareProcessNamespace` | Enable shared process namespace in a pod. | `false` |
| `redis.terminationGracePeriodSeconds` | Set custom gracefull termination period for redis container. | `30` |
| `redis.livenessProbe.enabled` | Enable livenessProbe | `true` |
| `redis.livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `5` |
| `redis.livenessProbe.periodSeconds` | Period seconds for livenessProbe | `5` |
Expand Down
3 changes: 3 additions & 0 deletions bitnami/redis-cluster/templates/redis-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ spec:
{{- if .Values.redis.shareProcessNamespace }}
shareProcessNamespace: {{ .Values.redis.shareProcessNamespace }}
{{- end }}
{{- if .Values.redis.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.redis.terminationGracePeriodSeconds }}
{{- end }}
{{- if .Values.redis.schedulerName }}
schedulerName: {{ .Values.redis.schedulerName | quote }}
{{- end }}
Expand Down
7 changes: 7 additions & 0 deletions bitnami/redis-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,13 @@ redis:
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
shareProcessNamespace: false
## @param redis.terminationGracePeriodSeconds Set custom gracefull termination period for redis container.
## If not set the kubernetes default will be applied.
## Customize it based on your workload. Huge redis with high load may wants more than default time to dump
## their data before complete termination.
## Ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution
##
terminationGracePeriodSeconds: 30
## Configure extra options for Redis&reg; liveness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
## @param redis.livenessProbe.enabled Enable livenessProbe
Expand Down
Loading