Skip to content

fix(k8s): raise the roadmap service memory to 768Mi and 3Gi - #4154

Merged
dan-petty merged 4 commits into
mainfrom
fix/4149-raise-roadmap-service-memory-limit
Nov 8, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/4149-raise-roadmap-service-memory-limit

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The roadmap service Deployment asks for 256Mi and has a 1Gi limit. Its working set grows about 100 to 150 MiB each hour and the kernel kills the pod after some hours. This change sets the request to 768Mi and the limit to 3Gi in git, so the pod runs for the observed growth. The limit is a stopgap while the leak analysis continues. The alert RoadmapServiceMemoryNearLimit reads the limit metric, so its rule is unchanged.

Closes #4149

Change: openspec/changes/archive/2026-11-08-4149-raise-roadmap-service-memory-limit/
Elapsed: 2.17s

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 8, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record for #4149.

fail-to-pass run (devops ci fail-to-pass --base origin/main): the new test test_deployment_memory_is_sized_for_the_observed_growth fails on the base (256Mi request and 1Gi limit, not 768Mi and 3Gi). It passes on this branch. 12 other tests of the file pass on both.

Narrow checks: test_k8s_roadmap_service.py 13 passed. test_k8s_monitoring_alerting.py 59 passed. ruff passes. ci --check for k8s, docs and openspec passes.

Full devops ci: all rows passed, except one test. tests/invariants/test_change_folders.py failed on a task line that used git grep -E. A later commit uses git grep -F, and that file now passes (34 passed). The test row took 11m59s (known issue #3593).

Rollout: the change is in git only. Argo CD syncs main, and the pod restarts once on the rollout. No ConfigMap key changed, so no live ConfigMap apply is needed. The alert RoadmapServiceMemoryNearLimit reads the limit metric, so it follows the new limit.

This limit is a stopgap.

@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 13:20
@dan-petty
dan-petty merged commit 5c9fb88 into main Nov 8, 2026
36 of 40 checks passed
@dan-petty
dan-petty deleted the fix/4149-raise-roadmap-service-memory-limit branch November 8, 2026 13:22
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.89.0](v0.88.1...v0.89.0)
(2026-11-08)


### Features

* **roadmap:** record the failure class and step of a stage item
([e017776](e017776))
* **roadmap:** record the failure class and step of a stage item
([#4153](#4153))
([e017776](e017776))
* **telemetry:** measure the seconds of each Service row
([#4150](#4150))
([aa772d6](aa772d6))


### Bug Fixes

* **k8s:** raise the roadmap service memory to 768Mi and 3Gi
([#4154](#4154))
([5c9fb88](5c9fb88))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): raise the memory limit of roadmap-service

1 participant