Skip to content

docs(k8s): app-only ingest memory sizing + gitignore live secret/manifest - #65

Merged
gangtao merged 1 commit into
mainfrom
docs/app-only-memory-and-gitignore
Aug 19, 2026
Merged

docs(k8s): app-only ingest memory sizing + gitignore live secret/manifest#65
gangtao merged 1 commit into
mainfrom
docs/app-only-memory-and-gitignore

Conversation

@gangtao

@gangtao gangtao commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

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) during tpk ingest builds the whole repo graph in memory in the app process and gets OOM-killed (exit 137) at the default 1Gi app-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 the tpk-app memory limits to ≥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 keys
  • deploy/k8s/app-only-timeplus.yaml — environment-specific host/user, LB scheme, etc.

Both are now ignored, so the tracked secret.example.yaml / app-only.yaml stay generic. Verified neither file was ever committed to history.

Scope

Docs + gitignore only — no manifest behavior changes. app-only.yaml remains the generic sample (:latest, CHANGEME host, ClusterIP, 1Gi).

🤖 Generated with Claude Code

https://claude.ai/code/session_01XPzYZXxyTdj5G25KoujpHb

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
@gangtao
gangtao merged commit 047aa81 into main Aug 19, 2026
2 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