docs(selfhost): start in-cluster check pods detached, not kubectl run --rm -i
What
Replaces the two attach-on-create kubectl run commands in infra docs with a detached pod:
kubectl run pgcheck --restart=Never --image=<psql image> -- sleep 3600
kubectl wait --for=condition=Ready pod/pgcheck --timeout=5m
kubectl exec pgcheck -- pg_isready -h <host> -p 5432 -t 10
kubectl delete pod pgcheck
docs/gcp-install/1-BRING-YOUR-OWN.md: the Cloud SQLpg_isready"Done when" check (waskubectl run pgcheck --rm -i).self-hosted/requirements.yaml: thereq.sessions-pipeline.relayauth-jwksverify line (waskubectl run -it --rm curl).docs/self-hosted-requirements.mdis re-rendered from it (registry.mjs render), so the 10 rows that quote it change too.
Each carries a one-line note on why.
Why
On an idle EKS Auto Mode cluster, the pod lands on a brand-new node before that node's kubelet serving certificate is issued. The attach then fails with remote error: tls: internal error, and --rm deletes the pod, so the operator sees a failure that has nothing to do with the check. We reproduced it in a customer sandbox rehearsal on 2026-11-26.
Searched every kubectl run|debug|attach with --rm, -i, -it, --stdin or --attach across docs, scripts, charts and the registry. Only these two attach. The opensearch-relay (terraform/modules/aws/search/README.md), tls-probe (configure-rds-e2e) and Azure postgres-setup.sh pods already start detached and wait.
Tests
node ci/self-hosted-requirements/registry.mjs check: OK (211 entries, 29 profiles),doc: OK.ci/self-hosted-requirements/test.sh: OK (10 cases). On macOS it needs GNU sed on PATH; BSD sed fails the same way on origin/main.
The matching agentrelay.com change is a separate PR.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.