docs(k8s): app-only ingest memory sizing + gitignore live secret/manifest - #65
Merged
Merged
Conversation
Ingesting proton-enterprise (code-only) during `tpk ingest` is OOM-killed (exit 137) at the default 1Gi app-pod limit, and because the run log is written only on completion, the repo ends up absent from the graph with no error row. Document the >=8Gi app-memory requirement in the app-only Resources caveat. Also gitignore the real-value files a live app-only deployment produces -- deploy/k8s/secret.yaml and deploy/k8s/app-only-timeplus.yaml -- so the tracked secret.example.yaml / app-only.yaml stay generic and no secret or env-specific host/user can be committed by accident. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XPzYZXxyTdj5G25KoujpHb
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.
What & why
Two small, reusable improvements distilled from a real app-only deployment against an existing Timeplus Enterprise cluster.
1. Document the app-pod memory requirement for ingest
Ingesting
proton-enterprise(code-only) duringtpk ingestbuilds the whole repo graph in memory in the app process and gets OOM-killed (exit 137) at the default1Giapp-pod limit. Because the run log (kg_ingest_log) is written only on completion, an OOM leaves that repo absent from the graph with no error row — it silently fails to index. Added a note to the app-only Resources caveat: raise thetpk-appmemorylimitsto ≥8Gi before ingesting the full corpus.2. Gitignore the real-value files a live deployment produces
A live app-only deploy generates two files that must never be committed:
deploy/k8s/secret.yaml— real DB password + API keysdeploy/k8s/app-only-timeplus.yaml— environment-specific host/user, LB scheme, etc.Both are now ignored, so the tracked
secret.example.yaml/app-only.yamlstay generic. Verified neither file was ever committed to history.Scope
Docs + gitignore only — no manifest behavior changes.
app-only.yamlremains the generic sample (:latest,CHANGEMEhost,ClusterIP,1Gi).🤖 Generated with Claude Code
https://claude.ai/code/session_01XPzYZXxyTdj5G25KoujpHb