prole/tmp/check_readiness.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

21 lines
874 B
Bash

#!/usr/bin/env bash
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
echo "==> Webservice puma latest log (kgqhl):"
kubectl -n gitea logs gitlab-webservice-default-675ccb7b99-kgqhl \
-c webservice --tail=8 2>&1 | grep -v LD_PRELOAD || true
echo "==> Sidekiq latest log:"
kubectl -n gitea logs gitlab-sidekiq-all-in-1-v2-679848bc8-wvxln \
--tail=10 2>&1 | grep -v LD_PRELOAD | grep -v "^$" | head -10 || true
echo "==> Available condition:"
kubectl -n gitea get gitlab gitlab \
-o jsonpath='{range .status.conditions[*]}{.type}: {.status} — {.message}{"\n"}{end}' 2>&1
echo "==> minio-create-buckets crash image + log:"
kubectl -n gitea get pod -l app=minio-create-buckets \
-o jsonpath='{.items[0].spec.containers[0].image}' 2>&1 && echo
kubectl -n gitea logs -l app=minio-create-buckets \
--tail=5 2>&1 | grep -v LD_PRELOAD | head -5 || true