diff --git a/CHANGELOG.md b/CHANGELOG.md index a08be164..eac4944a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,12 @@ ## master / unreleased +* [CHANGE] Memcacheds are now enabled by default #551 * [CHANGE] Change default config: distributors, rulers, queriers, query-frontend, nginx and compactors can be disrupted until 30% * [CHANGE] Remove startup probes from compactors from default values. It's not recommended in general #542 * [CHANGE] Use default value for num_tokens in ingester configuration #544 * [DEPENDENCY] Update kiwigrid/k8s-sidecar docker tag to v1.30.5 #531 +* [BUGFIX] fix discovering memcached instances #551 ## 2.6.0 / 2025-05-07 diff --git a/README.md b/README.md index 181609c9..12ba728b 100644 --- a/README.md +++ b/README.md @@ -383,7 +383,7 @@ Kubernetes: `^1.19.0-0` | memberlist.​service.​annotations | object | `{}` | | | memberlist.​service.​labels | object | `{}` | | | memcached-blocks-index.​architecture | string | `"high-availability"` | | -| memcached-blocks-index.​enabled | bool | `false` | Enables support for block index caching | +| memcached-blocks-index.​enabled | bool | `true` | Enables support for block index caching | | memcached-blocks-index.​extraEnvVars[0] | object | `{"name":"MEMCACHED_CACHE_SIZE","value":"1024"}` | MEMCACHED_CACHE_SIZE is the amount of memory allocated to memcached for object storage | | memcached-blocks-index.​extraEnvVars[1] | object | `{"name":"MEMCACHED_MAX_CONNECTIONS","value":"1024"}` | MEMCACHED_MAX_CONNECTIONS is the maximum number of simultaneous connections to the memcached service | | memcached-blocks-index.​extraEnvVars[2] | object | `{"name":"MEMCACHED_THREADS","value":"4"}` | MEMCACHED_THREADS is the number of threads to use when processing incoming requests. By default, memcached is configured to use 4 concurrent threads. The threading improves the performance of storing and retrieving data in the cache, using a locking system to prevent different threads overwriting or updating the same values. | @@ -391,8 +391,9 @@ Kubernetes: `^1.19.0-0` | memcached-blocks-index.​metrics.​serviceMonitor.​enabled | bool | `false` | | | memcached-blocks-index.​replicaCount | int | `2` | | | memcached-blocks-index.​resources | object | `{}` | | +| memcached-blocks-index.​service.​clusterIP | string | `"None"` | | | memcached-blocks-metadata.​architecture | string | `"high-availability"` | | -| memcached-blocks-metadata.​enabled | bool | `false` | Enables support for block metadata caching | +| memcached-blocks-metadata.​enabled | bool | `true` | Enables support for block metadata caching | | memcached-blocks-metadata.​extraEnvVars[0] | object | `{"name":"MEMCACHED_CACHE_SIZE","value":"1024"}` | MEMCACHED_CACHE_SIZE is the amount of memory allocated to memcached for object storage | | memcached-blocks-metadata.​extraEnvVars[1] | object | `{"name":"MEMCACHED_MAX_CONNECTIONS","value":"1024"}` | MEMCACHED_MAX_CONNECTIONS is the maximum number of simultaneous connections to the memcached service | | memcached-blocks-metadata.​extraEnvVars[2] | object | `{"name":"MEMCACHED_THREADS","value":"4"}` | MEMCACHED_THREADS is the number of threads to use when processing incoming requests. By default, memcached is configured to use 4 concurrent threads. The threading improves the performance of storing and retrieving data in the cache, using a locking system to prevent different threads overwriting or updating the same values. | @@ -400,8 +401,9 @@ Kubernetes: `^1.19.0-0` | memcached-blocks-metadata.​metrics.​serviceMonitor.​enabled | bool | `false` | | | memcached-blocks-metadata.​replicaCount | int | `2` | | | memcached-blocks-metadata.​resources | object | `{}` | | +| memcached-blocks-metadata.​service.​clusterIP | string | `"None"` | | | memcached-blocks.​architecture | string | `"high-availability"` | | -| memcached-blocks.​enabled | bool | `false` | Enables support for block caching | +| memcached-blocks.​enabled | bool | `true` | Enables support for block caching | | memcached-blocks.​extraEnvVars[0] | object | `{"name":"MEMCACHED_CACHE_SIZE","value":"1024"}` | MEMCACHED_CACHE_SIZE is the amount of memory allocated to memcached for object storage | | memcached-blocks.​extraEnvVars[1] | object | `{"name":"MEMCACHED_MAX_CONNECTIONS","value":"1024"}` | MEMCACHED_MAX_CONNECTIONS is the maximum number of simultaneous connections to the memcached service | | memcached-blocks.​extraEnvVars[2] | object | `{"name":"MEMCACHED_THREADS","value":"4"}` | MEMCACHED_THREADS is the number of threads to use when processing incoming requests. By default, memcached is configured to use 4 concurrent threads. The threading improves the performance of storing and retrieving data in the cache, using a locking system to prevent different threads overwriting or updating the same values. | @@ -409,8 +411,9 @@ Kubernetes: `^1.19.0-0` | memcached-blocks.​metrics.​serviceMonitor.​enabled | bool | `false` | | | memcached-blocks.​replicaCount | int | `2` | | | memcached-blocks.​resources | object | `{}` | | +| memcached-blocks.​service.​clusterIP | string | `"None"` | | | memcached-frontend.​architecture | string | `"high-availability"` | | -| memcached-frontend.​enabled | bool | `false` | Enables support for caching queries in the frontend | +| memcached-frontend.​enabled | bool | `true` | Enables support for caching queries in the frontend | | memcached-frontend.​extraEnvVars[0] | object | `{"name":"MEMCACHED_CACHE_SIZE","value":"1024"}` | MEMCACHED_CACHE_SIZE is the amount of memory allocated to memcached for object storage | | memcached-frontend.​extraEnvVars[1] | object | `{"name":"MEMCACHED_MAX_CONNECTIONS","value":"1024"}` | MEMCACHED_MAX_CONNECTIONS is the maximum number of simultaneous connections to the memcached service | | memcached-frontend.​extraEnvVars[2] | object | `{"name":"MEMCACHED_THREADS","value":"4"}` | MEMCACHED_THREADS is the number of threads to use when processing incoming requests. By default, memcached is configured to use 4 concurrent threads. The threading improves the performance of storing and retrieving data in the cache, using a locking system to prevent different threads overwriting or updating the same values. | @@ -418,6 +421,7 @@ Kubernetes: `^1.19.0-0` | memcached-frontend.​metrics.​serviceMonitor.​enabled | bool | `false` | | | memcached-frontend.​replicaCount | int | `2` | | | memcached-frontend.​resources | object | `{}` | | +| memcached-frontend.​service.​clusterIP | string | `"None"` | | | nginx.​affinity | object | `{}` | | | nginx.​annotations | object | `{}` | | | nginx.​autoscaling.​behavior | object | `{}` | Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior | diff --git a/values.yaml b/values.yaml index 65db9614..f25d2cba 100644 --- a/values.yaml +++ b/values.yaml @@ -1578,7 +1578,9 @@ compactor: memcached-frontend: # -- Enables support for caching queries in the frontend - enabled: false + enabled: true + service: + clusterIP: None architecture: "high-availability" replicaCount: 2 resources: {} @@ -1601,7 +1603,9 @@ memcached-frontend: memcached-blocks-index: # -- Enables support for block index caching - enabled: false + enabled: true + service: + clusterIP: None architecture: "high-availability" replicaCount: 2 resources: {} @@ -1624,7 +1628,9 @@ memcached-blocks-index: memcached-blocks: # -- Enables support for block caching - enabled: false + enabled: true + service: + clusterIP: None architecture: "high-availability" replicaCount: 2 resources: {} @@ -1647,7 +1653,9 @@ memcached-blocks: memcached-blocks-metadata: # -- Enables support for block metadata caching - enabled: false + enabled: true + service: + clusterIP: None architecture: "high-availability" replicaCount: 2 resources: {}