Skip to content

Commit

Permalink
Add resources requests to Redis internal chart (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
moicalcob authored Sep 4, 2024
1 parent d6ad145 commit 90fc71a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,8 @@ To install, upgrade or uninstall this chart, please refer to [the root README.md
| `internalRedis.master.persistence.enabled` | Enable master persistent volumes | `false` |
| `internalRedis.replica.persistence.enabled` | Enable replica persistent volumes | `false` |
| `internalRedis.nameOverride` | String to partially override common.names.fullname template (will maintain the release name) | `redis` |
| `internalRedis.master.resources.requests.memory` | Container memory requests in MiB | `512Mi` |
| `internalRedis.master.resources.requests.cpu` | Container cpu requests in milliCPU cores | `200m` |
| `internalRedis.master.resources.limits.memory` | Container memory limits in MiB | `512Mi` |
| `internalRedis.master.resources.limits.cpu` | Container cpu limits in milliCPU cores | `200m` |
| `internalRedis.master.podSecurityContext.fsGroup` | Set accounts-www pod's Security Context fsGroup | `1000` |
Expand All @@ -1497,6 +1499,8 @@ To install, upgrade or uninstall this chart, please refer to [the root README.md
| `internalRedis.master.containerSecurityContext.allowPrivilegeEscalation` | Set Redis containers' Security Context allowPrivilegeEscalation | `false` |
| `internalRedis.master.containerSecurityContext.readOnlyRootFilesystem` | Set Redis containers' Security Context readOnlyRootFilesystem | `true` |
| `internalRedis.master.containerSecurityContext.capabilities.drop` | removes Redis containers' Security Context capabilities | `["all"]` |
| `internalRedis.replica.resources.requests.memory` | Container memory requests in MiB | `512Mi` |
| `internalRedis.replica.resources.requests.cpu` | Container cpu requests in milliCPU cores | `200m` |
| `internalRedis.replica.resources.limits.memory` | Container memory limits in MiB | `512Mi` |
| `internalRedis.replica.resources.limits.cpu` | Container cpu limits in milliCPU cores | `200m` |
| `internalRedis.replica.podSecurityContext.fsGroup` | Set accounts-www pod's Security Context fsGroup | `1000` |
Expand Down
10 changes: 10 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4711,10 +4711,15 @@ internalRedis:
enabled: false
## Redis resource limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
## @param internalRedis.master.resources.requests.memory Container memory requests in MiB
## @param internalRedis.master.resources.requests.cpu Container cpu requests in milliCPU cores
## @param internalRedis.master.resources.limits.memory Container memory limits in MiB
## @param internalRedis.master.resources.limits.cpu Container cpu limits in milliCPU cores
##
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "200m"
Expand Down Expand Up @@ -4749,10 +4754,15 @@ internalRedis:
enabled: false
## Redis resource limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
## @param internalRedis.replica.resources.requests.memory Container memory requests in MiB
## @param internalRedis.replica.resources.requests.cpu Container cpu requests in milliCPU cores
## @param internalRedis.replica.resources.limits.memory Container memory limits in MiB
## @param internalRedis.replica.resources.limits.cpu Container cpu limits in milliCPU cores
##
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "200m"
Expand Down

0 comments on commit 90fc71a

Please sign in to comment.