From c02d158173aa62e35dbe6945b746eb627c4bcf7a Mon Sep 17 00:00:00 2001 From: Jarvis Date: Fri, 10 Jul 2026 18:02:41 +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 0c327f3..f53a351 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.9.x), patch is this chart's # own counter on that line and is decoupled from the app patch (see appVersion). -version: 3.9.3 +version: 3.9.4 # 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 fcedc71..31de0f2 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -104,7 +104,7 @@ The command removes all the Kubernetes components associated with the chart and | apisix.lru | object | `{"secret":{"count":512,"neg_count":512,"neg_ttl":60,"ttl":300}}` | fine tune the parameters of LRU cache for some features like secret | | apisix.lru.secret.neg_ttl | int | `60` | in seconds | | apisix.lru.secret.ttl | int | `300` | in seconds | -| apisix.meta.luaSharedDict.prometheus-metrics | string | `"256m"` | | +| apisix.meta.luaSharedDict.prometheus-metrics | string | `"128m"` | | | 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 6a7fdb0..6b11b7d 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -36,7 +36,7 @@ apisix: meta: luaSharedDict: - prometheus-metrics: 256m + prometheus-metrics: 128m stream: luaSharedDict: