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:
parent
49a7c4a6e6
commit
e284e4623b
2 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue