Update kubectl.plugin.zsh

If I use klf I read ALL logs of container by default. It could be a lot.
I suggest show 10 rows from tail by default
This commit is contained in:
sneakythrows 2022-07-01 15:09:07 +03:00 committed by GitHub
parent 4c82a2eedf
commit 8d17624a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ alias kl='kubectl logs'
alias kl1h='kubectl logs --since 1h' alias kl1h='kubectl logs --since 1h'
alias kl1m='kubectl logs --since 1m' alias kl1m='kubectl logs --since 1m'
alias kl1s='kubectl logs --since 1s' alias kl1s='kubectl logs --since 1s'
alias klf='kubectl logs -f' alias klf='kubectl logs -f --tail=10'
alias klf1h='kubectl logs --since 1h -f' alias klf1h='kubectl logs --since 1h -f'
alias klf1m='kubectl logs --since 1m -f' alias klf1m='kubectl logs --since 1m -f'
alias klf1s='kubectl logs --since 1s -f' alias klf1s='kubectl logs --since 1s -f'