diff --git a/CHANGELOG.md b/CHANGELOG.md index 3172bd0..81ed9ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bumped default Redis resource requests and limits to 2 CPU / 4Gi memory. [#143](https://github.com/sourcebot-dev/sourcebot-helm-chart/pull/143) + ## [0.1.109] - 2026-09-29 ### Changed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b807a72..9847077 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,9 +5,9 @@ ### Prerequisites - [Helm 3.x](https://helm.sh/docs/intro/install/) -- A local Kubernetes cluster (e.g., [minikube](https://minikube.sigs.k8s.io/docs/start/)). The default resource requests require at least 12GB of memory. For minikube, configure this before creating your cluster: +- A local Kubernetes cluster (e.g., [minikube](https://minikube.sigs.k8s.io/docs/start/)). The default resource requests require at least 16GB of memory. For minikube, configure this before creating your cluster: ```bash - minikube config set memory 12288 # 12GB + minikube config set memory 16384 # 16GB ``` ### Building Dependencies diff --git a/charts/sourcebot/README.md b/charts/sourcebot/README.md index bda3826..225cf0a 100644 --- a/charts/sourcebot/README.md +++ b/charts/sourcebot/README.md @@ -55,10 +55,10 @@ Sourcebot is a self-hosted tool that helps you understand your codebase. | redis.image.repository | string | `"bitnamilegacy/valkey"` | Overwrite default repository of helm chart to point to non-paid bitnami images | | redis.metrics.image.repository | string | `"bitnamilegacy/redis-exporter"` | Overwrite default metrics exporter repository to point to non-paid bitnami images | | redis.port | int | `6379` | Redis port | -| redis.primary.resources.limits.cpu | string | `"1"` | CPU limit for the Redis container | -| redis.primary.resources.limits.memory | string | `"1.5Gi"` | Memory limit for the Redis container | -| redis.primary.resources.requests.cpu | string | `"1"` | CPU request for the Redis container | -| redis.primary.resources.requests.memory | string | `"1.5Gi"` | Memory request for the Redis container | +| redis.primary.resources.limits.cpu | string | `"2"` | CPU limit for the Redis container | +| redis.primary.resources.limits.memory | string | `"4Gi"` | Memory limit for the Redis container | +| redis.primary.resources.requests.cpu | string | `"2"` | CPU request for the Redis container | +| redis.primary.resources.requests.memory | string | `"4Gi"` | Memory request for the Redis container | | sourcebot.additionalEnv | list | `[]` | Set additional environment variables | | sourcebot.additionalEnvSecrets | list | `[]` | Set environment variables from Kubernetes secrets | | sourcebot.additionalLabels | object | `{}` | Add extra labels to all resources | diff --git a/charts/sourcebot/values.yaml b/charts/sourcebot/values.yaml index 50042e7..17e046a 100644 --- a/charts/sourcebot/values.yaml +++ b/charts/sourcebot/values.yaml @@ -419,11 +419,11 @@ redis: resources: requests: # -- CPU request for the Redis container - cpu: "1" + cpu: "2" # -- Memory request for the Redis container - memory: "1.5Gi" + memory: "4Gi" limits: # -- CPU limit for the Redis container - cpu: "1" + cpu: "2" # -- Memory limit for the Redis container - memory: "1.5Gi" + memory: "4Gi"