Add --ignore-errors and --prefix to kbf alias

Allows tailing logs from all pods even when some are not in Running
state (e.g., Pending, CrashLoopBackOff).
This commit is contained in:
Viktor Barzin 2026-02-15 18:18:51 +00:00
parent 49a7c4a6e6
commit e284e4623b
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@ alias kbpo="kubectl get pods -o wide"
alias kbs="kubectl get svc"
alias kbn="kubectl get nodes -o wide"
alias kbd="kubectl describe pods"
alias kbf="kubectl logs --all-containers --max-log-requests 50 -f --since=5m"
alias kbf="kubectl logs --all-containers --max-log-requests 50 --prefix --ignore-errors -f --since=5m"
alias kbe='kubectl exec -it $(kbp | tail -n 1 | awk "{print \$1}") -- sh'
alias kn="kubens"
function cephpw() {