mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
10 lines
447 B
Bash
10 lines
447 B
Bash
#!/usr/bin/env bash
|
|
export KUBECONFIG=/Users/chrisfu/dev/knoe/knoe-k3s.kubeconfig
|
|
for pod in gitlab-webservice-default-675ccb7b99-9tkdh \
|
|
gitlab-webservice-default-675ccb7b99-j684x \
|
|
gitlab-sidekiq-all-in-1-v2-679848bc8-mrz9b; do
|
|
kubectl -n gitea delete pod "$pod" --force --grace-period=0 --ignore-not-found 2>/dev/null || true
|
|
done && \
|
|
sleep 20 && \
|
|
kubectl -n gitea get pods --no-headers | grep -E "webservice|sidekiq"
|