feat: mode-aware config defaults for pruning and concurrency#21
Merged
feat: mode-aware config defaults for pruning and concurrency#21
Conversation
Each planner's controllerOverrides() now generates comprehensive operational config matching sei-infra's production settings, removing the need for manual spec.overrides on standard deployments. Full node (RPC): custom pruning (keep-recent=86400), concurrency=500 Full node (snapshot producer): custom pruning (keep-recent=50000), min-retain-blocks=50000, concurrency=500 Archive: concurrency=500 (ModeArchive handles pruning) Replayer: concurrency=500 (ModeArchive handles pruning) Also bumps RPC group memory request to 64Gi to prevent OOMKills.
The 64Gi memory bump belongs in a separate change.
bdchatham
added a commit
that referenced
this pull request
Mar 23, 2026
Includes mode-aware config defaults (PR #21) and archive tier resource bump (16 CPU / 256Gi).
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.
Summary
controllerOverrides()to generate comprehensive operational config (pruning strategy, concurrency workers, retain blocks) derived from the CRD structureinit_configure.shsettings, eliminating the need for manualspec.overrideson standard deploymentsConfig profiles
Layering
User
spec.overridesstill takes precedence for power-user cases (e.g., giga_executor on shadow replayer).Test plan
TestConfigApply_*tests updated and passingTestConfigApply_FullNodeRPCProfile,TestConfigApply_FullNodeSnapshotProducerProfile,TestConfigApply_ArchiveDefaultOverrides,TestConfigApply_ReplayerDefaultOverrides./internal/controller/node/test suite passes