Skip to content

Commit 2ebf1db

Browse files
authored
fix(gateway): reduce prometheus shared dict to 128m (#312)
1 parent 7fdc655 commit 2ebf1db

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

charts/gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# Versions are expected to follow Semantic Versioning (https://semver.org/)
1717
# major.minor mirrors the API7 EE release line (3.10.x), patch is this chart's
1818
# own counter on that line and is decoupled from the app patch (see appVersion).
19-
version: 3.10.5
19+
version: 3.10.6
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

charts/gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The command removes all the Kubernetes components associated with the chart and
8787
| apisix.lru.secret.neg_ttl | int | `60` | TTL in seconds for cached negative (failed lookup) results |
8888
| apisix.lru.secret.ttl | int | `300` | TTL in seconds for cached secret values |
8989
| 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. |
90-
| apisix.meta.luaSharedDict | object | `{"prometheus-metrics":"256m"}` | Shared dict settings for the `meta` context (used by both HTTP and stream subsystems) |
90+
| apisix.meta.luaSharedDict | object | `{"prometheus-metrics":"128m"}` | Shared dict settings for the `meta` context (used by both HTTP and stream subsystems) |
9191
| apisix.nodeSelector | object | `{}` | Node labels for API7 Gateway pod assignment |
9292
| 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. |
9393
| apisix.podAnnotations | object | `{}` | Annotations to add to each pod |

charts/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ apisix:
9999
meta:
100100
# -- Shared dict settings for the `meta` context (used by both HTTP and stream subsystems)
101101
luaSharedDict:
102-
prometheus-metrics: 256m
102+
prometheus-metrics: 128m
103103

104104
stream:
105105
# -- Shared dict settings for the stream (L4 proxy) subsystem

0 commit comments

Comments
 (0)