Created
April 3, 2023 19:43
-
-
Save pffigueiredo/04f5514f4f6f9bc3118ff17b1a7322d0 to your computer and use it in GitHub Desktop.
Kubectl sheet cheat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get live logs | |
kubectl logs --follow jobworker-75bc57f649-ftwn6 | grep -i 'CENA' -B 4 -A 2 | |
--follow => live logs | |
-B => number of BEFORE lines | |
-A => number of AFTER lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment