kubernetes
Kubernetes
Overview
Operate cluster resources with explicit namespaces and GitOps manifests. Use CNPG for Postgres access and Helm v3 for kustomize when required.
Namespace discipline
Always specify -n jangar for the Jangar stack unless a different namespace is required.
Common operations
kubectl get pods -n jangar
kubectl logs -n jangar deploy/bumba --tail=200
kubectl rollout status -n jangar deployment/bumba
Exec and port-forward
kubectl exec -n jangar deploy/bumba -- env | rg TEMPORAL
kubectl -n jangar port-forward svc/open-webui 8080:80
CNPG (Postgres)
kubectl cnpg psql -n jangar jangar-db -- -c 'select now();'
Helm-enabled kustomize
mise exec helm@3 -- kustomize build --enable-helm argocd/applications/jangar | kubectl apply -n jangar -f -
Resources
- Reference:
references/kubectl-runbook.md - Helper:
scripts/kubectl-ns.sh - Triage checklist:
assets/kubectl-triage.md
More from proompteng/lab
repo-map
Navigate this repo quickly to find the correct app, package, or service, and identify the right files for changes.
79memories
Save and retrieve memories or embeddings via the repo helpers or API. Use when working with embedding config or memory storage.
78temporal
Operate Temporal workflows in this repo: start/list/inspect workflows, fetch history, debug nondeterminism, reset/cancel/terminate, and check task queues via Temporal CLI.
77github-issue
Create GitHub issues in this repo using the Codex issue template and the gh CLI. Use when the user asks to file/open/create a GitHub issue, track work, or request a Codex implementation run via .github/ISSUE_TEMPLATE/codex-task.md.
76quality-checks
Run formatting, lint, typecheck, and tests for this repo; use when validating changes or investigating CI failures.
74gitops
GitOps workflows for this repo: edit Argo CD/Kubernetes/infra manifests in version control, validate changes, and rely on Argo CD to sync. Use when tasks touch argocd/, kubernetes/, tofu/, ansible/, or deployment/runbook changes, or when asked to roll out services via GitOps.
72