prole/tmp/check_gitlab_status.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
781 B
Bash

#!/usr/bin/env bash
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
echo "==> Gitaly PVC:"
kubectl -n gitea get pvc repo-data-gitlab-gitaly-0 2>&1
echo "==> Gitaly pod events:"
kubectl -n gitea describe pod gitlab-gitaly-0 2>&1 | grep -A3 "Events:" | tail -8
echo "==> PV status:"
kubectl get pv gitlab-gitaly-synology gitlab-minio-synology \
-o custom-columns='NAME:.metadata.name,STATUS:.status.phase,CLAIM:.spec.claimRef.name' 2>&1
echo "==> Registry crash log:"
kubectl -n gitea logs gitlab-registry-75b586f9fd-cw8gl --previous --tail=15 2>&1 \
| grep -v "LD_PRELOAD" | head -15 || true
echo "==> Exporter crash log:"
kubectl -n gitea logs gitlab-gitlab-exporter-54575ddcdb-lcprm --previous --tail=10 2>&1 \
| grep -v "LD_PRELOAD" | head -10 || true