Skip to content

Tune website CPU and memory resources#2947

Merged
loks0n merged 1 commit intomainfrom
feat/tune-cpu-and-mem
Apr 30, 2026
Merged

Tune website CPU and memory resources#2947
loks0n merged 1 commit intomainfrom
feat/tune-cpu-and-mem

Conversation

@loks0n
Copy link
Copy Markdown
Member

@loks0n loks0n commented Apr 30, 2026

Summary

  • Increase cpu request from 400m to 500m
  • Raise memory request and limit from 512Mi to 1Gi
  • Bump Node --max-old-space-size from 400 to 768

Test plan

  • Verify deployment rolls out successfully in staging
  • Confirm pods stay within new memory limit under normal load

🤖 Generated with Claude Code

Bump cpu request to 500m, set memory request=limit=1Gi, and raise
NODE_OPTIONS --max-old-space-size to 768.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@loks0n loks0n force-pushed the feat/tune-cpu-and-mem branch from 7c067ea to 66192b0 Compare April 30, 2026 13:42
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 30, 2026

Greptile Summary

Tunes the website Kubernetes deployment by bumping CPU requests from 400m to 500m, doubling the memory request and limit from 512Mi to 1Gi, and raising the Node.js --max-old-space-size from 400 to 768 MB. The heap ceiling (768 MB) is ~75% of the container memory limit (1024 MiB), leaving roughly 256 MiB for off-heap allocations and OS overhead, which is a sound ratio.

Confidence Score: 5/5

Safe to merge — clean resource-tuning change with no logic modifications.

Single-file infra change with proportionally correct values: heap size is 75% of the memory limit (standard guidance), CPU request increase is modest, and no CPU limit is added (intentional, avoids throttling). No code logic is touched.

No files require special attention.

Important Files Changed

Filename Overview
deploy/website/templates/website.yaml Increases CPU request (400m→500m), doubles memory request/limit (512Mi→1Gi), and raises Node.js heap ceiling (400→768 MB) — all proportionally aligned.

Reviews (1): Last reviewed commit: "Tune website CPU and memory resources" | Re-trigger Greptile

@loks0n loks0n merged commit d960323 into main Apr 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant