mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 19:44:33 +00:00
- 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
21 lines
643 B
Bash
21 lines
643 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
|
|
|
|
echo "==> Deleting failed jobs..."
|
|
kubectl -n gitlab delete jobs --all --ignore-not-found
|
|
|
|
echo "==> Deleting crashed/stuck GitLab pods..."
|
|
kubectl -n gitlab delete pods \
|
|
-l 'app in (toolbox,registry,gitaly,webservice,sidekiq,gitlab-exporter,minio)' \
|
|
--ignore-not-found
|
|
|
|
echo "==> Waiting 120s for operator to reconcile and pods to start..."
|
|
sleep 120
|
|
|
|
echo "==> Pod status:"
|
|
kubectl -n gitlab get pods --sort-by=.metadata.creationTimestamp | grep -v jemalloc-builder
|
|
|
|
echo "==> GitLab CR status:"
|
|
kubectl -n gitlab get gitlab gitlab
|