#!/usr/bin/env bash export KUBECONFIG=/Users/chrisfu/dev/knoe/knoe-k3s.kubeconfig echo "==> Registry crash log:" kubectl -n gitea logs gitlab-registry-75b586f9fd-455x2 --previous --tail=20 2>&1 \ | grep -v "LD_PRELOAD" | head -20 || \ kubectl -n gitea logs -l app=registry --tail=20 2>&1 \ | grep -v "LD_PRELOAD" | head -20 || true echo "==> All pods incl webservice/sidekiq:" kubectl -n gitea get pods --no-headers | grep -v jemalloc-builder | sort echo "==> Migrations status:" kubectl -n gitea get jobs --no-headers 2>&1 | grep migrations || \ kubectl -n gitea get pods --no-headers | grep migrations echo "==> Installer run 9 tail:" tail -8 /Users/chrisfu/dev/knoe/logs/install_run9.log 2>&1