From 3ac839103e6e69be0f1a2b8c2a2c1b112a6b750f Mon Sep 17 00:00:00 2001 From: Jarvis Date: Fri, 10 Jul 2026 18:02:35 +0800 Subject: [PATCH] fix(gateway): reduce prometheus shared dict to 128m --- charts/gateway/Chart.yaml | 2 +- charts/gateway/README.md | 2 +- charts/gateway/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/gateway/Chart.yaml b/charts/gateway/Chart.yaml index 05c25e5..e4704fd 100644 --- a/charts/gateway/Chart.yaml +++ b/charts/gateway/Chart.yaml @@ -16,7 +16,7 @@ type: application # Versions are expected to follow Semantic Versioning (https://semver.org/) # major.minor mirrors the API7 EE release line (3.10.x), patch is this chart's # own counter on that line and is decoupled from the app patch (see appVersion). -version: 3.10.5 +version: 3.10.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/gateway/README.md b/charts/gateway/README.md index 8f4f2af..b6aa67e 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -87,7 +87,7 @@ The command removes all the Kubernetes components associated with the chart and | apisix.lru.secret.neg_ttl | int | `60` | TTL in seconds for cached negative (failed lookup) results | | apisix.lru.secret.ttl | int | `300` | TTL in seconds for cached secret values | | apisix.maxPostArgsReadableSize | int | `64` | Cap (in MB) on the request body read when matching `post_arg.*` route predicates for JSON and multipart requests. Set to 0 to disable the limit. | -| apisix.meta.luaSharedDict | object | `{"prometheus-metrics":"256m"}` | Shared dict settings for the `meta` context (used by both HTTP and stream subsystems) | +| apisix.meta.luaSharedDict | object | `{"prometheus-metrics":"128m"}` | Shared dict settings for the `meta` context (used by both HTTP and stream subsystems) | | apisix.nodeSelector | object | `{}` | Node labels for API7 Gateway pod assignment | | apisix.normalizeURILikeServlet | bool | `false` | The URI normalization in servlet is a little different from the RFC's. See https://github.com/jakartaee/servlet/blob/master/spec/src/main/asciidoc/servlet-spec-body.adoc#352-uri-path-canonicalization, which is used under Tomcat. Turn this option on if you want to be compatible with servlet when matching URI path. | | apisix.podAnnotations | object | `{}` | Annotations to add to each pod | diff --git a/charts/gateway/values.yaml b/charts/gateway/values.yaml index 58e44cf..eab6494 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -99,7 +99,7 @@ apisix: meta: # -- Shared dict settings for the `meta` context (used by both HTTP and stream subsystems) luaSharedDict: - prometheus-metrics: 256m + prometheus-metrics: 128m stream: # -- Shared dict settings for the stream (L4 proxy) subsystem