Last active
February 7, 2026 10:09
-
-
Save limcheekin/39235509665853814a938608f4249432 to your computer and use it in GitHub Desktop.
kubectl commands
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
| # Check pods status of given app | |
| $kubectl get pods -l app=parlant | |
| # Example Output: | |
| #NAME READY STATUS RESTARTS AGE | |
| #parlant-579f75fb-8wjc5 0/1 Running 4 (7s ago) 22m | |
| #parlant-579f75fb-fmt2s 0/1 Running 4 (23s ago) 22m | |
| #parlant-6859869559-57xls 1/1 Running 0 30m | |
| # Check event | |
| $kubectl describe pod parlant-579f75fb-8wjc5 | |
| # View current and previous logs (if it crashed) | |
| $kubectl logs parlant-579f75fb-8wjc5 --tail=50 --follow | |
| $kubectl logs parlant-579f75fb-8wjc5 --previous | |
| # Check event and view logs | |
| $kubectl logs parlant-579f75fb-8wjc5 --tail=50 && kubectl describe pod parlant-579f75fb-8wjc5 | |
| # Follow the logs with '--follow' | |
| $kubectl logs -l app=parlant --tail=100 --follow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment