prole/tmp/wait_cnpg.sh
chrisfu b4fc5641db checkpoint: sanitize prole config for host portability
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu

- remove injected [update.sh] log lines and stray password artifacts so config is executable

- include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
2026-04-10 05:58:40 -07:00

16 lines
519 B
Bash

#!/usr/bin/env bash
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
for i in $(seq 1 20); do
ready=$(kubectl -n knoe-db get pods --no-headers 2>/dev/null | grep -E "knoe-db-[0-9]" | grep -c "2/2.*Running" || echo 0)
echo "[$i/20] CNPG 2/2 Running: $ready/3"
[ "$ready" -eq 3 ] && break
sleep 15
done
echo "==> Final CNPG pods:"
kubectl -n knoe-db get pods --no-headers 2>&1 | grep -E "knoe-db-[0-9]"
echo "==> Installer log tail:"
tail -12 /Users/chrisfu/dev/prole/logs/install_run8.log 2>&1