mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Redis Helm Chart. Add resources to init container in the slave-deployment template (#12739)
* Add resources to init container in the slave-deployment template Signed-off-by: vkropotko <vkropotko@riskfocus.com> * Redis Helm Chart. Update README.md and comments Signed-off-by: vkropotko <vkropotko@riskfocus.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d5dbfb8d7f
commit
7e4eec721f
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 6.4.3
|
||||
version: 6.4.4
|
||||
appVersion: 4.0.14
|
||||
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:
|
||||
|
||||
@@ -173,6 +173,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
|
||||
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `latest` |
|
||||
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
|
||||
| `volumePermissions.resources ` | Init container volume-permissions CPU/Memory resource requests/limits | {} |
|
||||
| `slave.service.type` | Kubernetes Service type (redis slave) | `ClusterIP` |
|
||||
| `slave.service.nodePort` | Kubernetes Service nodePort (redis slave) | `nil` |
|
||||
| `slave.service.annotations` | annotations for redis slave service | {} |
|
||||
@@ -209,6 +210,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `sysctlImage.tag` | sysctlImage Init container tag | `latest` |
|
||||
| `sysctlImage.pullPolicy` | sysctlImage Init container pull policy | `Always` |
|
||||
| `sysctlImage.mountHostSys` | Mount the host `/sys` folder to `/host-sys` | `false` |
|
||||
| `sysctlImage.resources` | sysctlImage Init container CPU/Memory resource requests/limits | {} |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -166,6 +166,8 @@ spec:
|
||||
initContainers:
|
||||
- name: init-sysctl
|
||||
image: {{ template "redis.sysctl.image" . }}
|
||||
resources:
|
||||
{{ toYaml .Values.sysctlImage.resources | indent 10 }}
|
||||
{{- if .Values.sysctlImage.mountHostSys }}
|
||||
volumeMounts:
|
||||
- name: host-sys
|
||||
|
||||
@@ -380,6 +380,10 @@ volumePermissions:
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
resources: {}
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
|
||||
## Redis config file
|
||||
## ref: https://redis.io/topics/config
|
||||
@@ -404,3 +408,7 @@ sysctlImage:
|
||||
# - myRegistryKeySecretName
|
||||
mountHostSys: false
|
||||
resources: {}
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
|
||||
@@ -381,6 +381,10 @@ volumePermissions:
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
resources: {}
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
|
||||
## Redis config file
|
||||
## ref: https://redis.io/topics/config
|
||||
@@ -405,3 +409,7 @@ sysctlImage:
|
||||
# - myRegistryKeySecretName
|
||||
mountHostSys: false
|
||||
resources: {}
|
||||
# resources:
|
||||
# requests:
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
|
||||
Reference in New Issue
Block a user