mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
24 lines
709 B
Bash
24 lines
709 B
Bash
#!/usr/bin/env bash
|
|
export KUBECONFIG=/Users/chrisfu/dev/knoe/knoe-k3s.kubeconfig
|
|
|
|
echo "==> minio-init pod status:"
|
|
kubectl -n gitea get pod minio-init --no-headers 2>&1
|
|
|
|
echo "==> minio-init logs:"
|
|
kubectl -n gitea logs minio-init 2>&1 | tail -20
|
|
|
|
echo "==> Restarting registry (pick up new buckets):"
|
|
kubectl -n gitea delete pod -l app=registry --ignore-not-found 2>&1
|
|
|
|
echo "==> Waiting 60s..."
|
|
sleep 60
|
|
|
|
echo "==> All GitLab pods:"
|
|
kubectl -n gitea get pods --no-headers | grep -v jemalloc-builder | sort
|
|
|
|
echo "==> GitLab CR status:"
|
|
kubectl -n gitea get gitlab gitlab -o jsonpath='{.status.phase}' 2>&1 && echo
|
|
|
|
echo "==> Installer log tail:"
|
|
tail -5 /Users/chrisfu/dev/knoe/logs/install_run8.log 2>&1
|