chore: Kustomize k8s restructure, API image v0.19 - #24
Open
surrealwolf wants to merge 3 commits into
Open
Conversation
- Use /api/livez for liveness (lightweight, no DB) to avoid SIGKILL on slow health - Increase memory limit 1Gi -> 2Gi to reduce OOM risk - Increase probe timeouts: liveness 5s->10s, readiness 3s->10s - Increase readiness failureThreshold 2->3 - Bump API image to v0.17 Co-authored-by: Cursor <cursoragent@cursor.com>
- Restructure k8s/ with base/ and overlays/default - Organize by component: api, ui, poller, postgres, gateway, mcp, cloudflare - Add kustomization.yaml for each component - Update API and poller image to v0.19 - Move CLOUDFLARE_TUNNEL.md to docs/ - Deploy with: kubectl apply -k overlays/default Co-authored-by: Cursor <cursoragent@cursor.com>
- Fix pooler hostname: high-command-postgres-pooler (not -pooler-rw) - Increase PgBouncer max_client_conn to 500 for 6 API pods + poller - Add POOL_MAX_CONN=100 to poller for burst workload - Bump API/poller image to v0.22 - Update README and secrets examples with correct hostname Co-authored-by: Cursor <cursoragent@cursor.com>
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
Restructure k8s manifests with Kustomize, update API image, and fix pooler/poller connection issues.
Changes
Kustomize structure
base/– components: api, ui, poller, postgres, gateway, mcp, cloudflareoverlays/default/– default overlaydocs/– CLOUDFLARE_TUNNEL.mdImage updates
Pooler fixes
high-command-postgres-pooler(not-pooler-rw) – CloudNativePG service nameSecrets examples
Deploy