Repository navigation
fix(k8s): trim dev Elasticsearch native memory - #101
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dev Elasticsearch container still exceeded its new
512Milimit while loading the real data, even with ML disabled. Logs confirmed the requested256mheap but also showed a128Midirect-memory ceiling and default roles for ML, transforms, remote clusters, and every data tier.This keeps the requested
512Micontainer limit and256mheap, caps direct memory at64m, and limits the dev node to the roles used by the application (master,data,ingest) and one Elasticsearch processor. The retained PVC and its data are unchanged.Validation:
--memory=512m256Mi, one allocated processor, and rolesdata,ingest,masterMaxDirectMemorySize=64mkubectl kustomize deploy/k8s/overlays/devkubectl apply --dry-run=clienton the rendered overlaygit diff --checkharness check scopeharness check branchExternal review note: AGY Gemini 3.8 again exited immediately after initialization without returning a verdict. The complete diff was supplied without requiring tool access.