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

Add resources requests to Redis internal chart #606

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
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
Loading