Repository navigation
fix(k8s): raise the limits that 7 d of use shows are too low - #5030
Conversation
Raise the Grafana memory request and limit, the memory limits of the LLM gateway, alloy-metrics and alloy-logs, the CPU limits of the redis_exporter sidecars and node-exporter, and the CPU limit of the roadmap Service. The tests hold the new values.
Before values (7 d to 2026-11-12)Read from Prometheus through the Grafana datasource on 2026-11-12, with no write to the cluster. The live limits ( MemoryQuery:
The working set at the time of the check: grafana 444 MiB (above the old request of 256Mi), CPUThrottled share:
For comparison, the median scrape of the Prometheus self target is 0.008 s. Scheduling: only the Grafana memory request grows (256Mi). Each node had 21 GiB or more of allocatable memory that no running pod requests, from Fail-to-pass
Local checks on the branch
After the merge7 d after the merge, a second comment records the peak against the new limit and the throttled share of each container, with the same queries. |
🤖 I have created a release *beep* *boop* --- ## [0.118.0](v0.117.2...v0.118.0) (2026-11-12) ### Features * **ci:** devops ci stops its rows when timeout ends it ([#5031](#5031)) ([1fa4e9c](1fa4e9c)) * **roadmap:** keep the stage gate problems as a list with a code ([#5022](#5022)) ([5819627](5819627)) * **roadmap:** log one result line for each roadmap job attempt ([#4966](#4966)) ([2b6fe3f](2b6fe3f)) * **telemetry:** record each CLI usage error by name and kind ([#4973](#4973)) ([a179fd9](a179fd9)) ### Bug Fixes * **ai:** chat loads each persona prompt and challenger gets tools ([#5037](#5037)) ([c40b0ad](c40b0ad)) * **ai:** keep the HTTP status of a Claude reply after retries ([#4976](#4976)) ([5bf9466](5bf9466)) * **deps:** keep Renovate uv bumps green and groups on Monday ([#4987](#4987)) ([b19e153](b19e153)) * **k8s:** raise the limits that 7 d of use shows are too low ([#5030](#5030)) ([028c62b](028c62b)) * **roadmap:** a job posts no comment that repeats a recent one ([#4978](#4978)) ([fff903a](fff903a)) * **service:** alert when GitHub cannot deliver a webhook ([#5045](#5045)) ([2bfbfcb](2bfbfcb)) * **service:** delete the stream route that sends canned verified text ([#5038](#5038)) ([e9d51b5](e9d51b5)) * **telemetry:** keep one upstream status series per service ([#4986](#4986)) ([3e4ca56](3e4ca56)) * **tests:** remove the runner variable in the test floor ([#4988](#4988)) ([093aa61](093aa61)) ### Performance Improvements * **ai:** make the ast graph walk and call search faster ([#5039](#5039)) ([3b25cc6](3b25cc6)), closes [#4662](#4662) * **ci:** build the devcontainer only on its own inputs ([#4977](#4977)) ([c5b15ac](c5b15ac)) * **ci:** test each merge once, on the push to main ([#5043](#5043)) ([c6992b1](c6992b1)) * **tests:** remove fixed waste in six slow tests ([#4995](#4995)) ([1c7044e](1c7044e)) ### Code Refactoring * **ai:** delete devops ai pipeline and persona leftovers ([#5044](#5044)) ([d5fefde](d5fefde)), closes [#4827](#4827) * **openspec:** split big capabilities into nested ones ([#4981](#4981)) ([dfb09bd](dfb09bd)) * **pr:** devops pr update acts only on a failed check ([#4990](#4990)) ([aa4fa1a](aa4fa1a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
|
Before values of the roadmap Service (missing from the evidence comment) Issue #4991 asks for the Service event-loop lag or round time as a before value. This comment adds it, so the comment 7 days after the merge has a baseline. Window: the 7 days before the merge, 2026-11-05T12:09:50Z to 2026-11-12T12:09:50Z (merge commit 028c62b). Each query is an instant query at Event-loop lag: no metric exists. The metric names that match Round time (mean time of one job, by lane):
CPU throttled share of container node-exporter scrape time (median of 7 d, by node): 1.92 s on the slowest node, 0.16 s to 0.26 s on the other three. The follow-up compares it with this value, because the CPU limit of 500m may not make that scrape faster. kubeconform: I rendered Follow-up: on 2026-11-19 at 12:09 UTC or later, run the same queries with the end time |
7 days of Prometheus data show memory limits near the peak use and CPU limits that throttle containers that use a few millicores. This change raises them in git.
Memory: Grafana request 256Mi to 512Mi and limit 1024Mi to 2Gi (peak 1014 MiB), LLM gateway 2048Mi to 4Gi (it grows about 170 MiB each day), alloy-metrics 1024Mi to 1536Mi, alloy-logs 512Mi to 768Mi. The gateway does not set MAX_REQUESTS_BEFORE_RESTART, because with one worker and one replica every model call fails until the container starts again. Tempo stays at 2Gi.
CPU limits: redis_exporter sidecars 100m to 500m, node-exporter 200m to 500m (CFS throttled them in 29% to 69% of the periods), roadmap Service 1 to 2 (it reached 1.00 core). The requests stay.
The tests and the spec workload-resource-limits hold the new values.
Closes #4991
Change:
openspec/changes/archive/2026-11-12-4991-raise-measured-limits/