Last active
August 13, 2020 18:59
-
-
Save danielkec/45f2b4099bb923b75006723d24589568 to your computer and use it in GitHub Desktop.
K8s cheatsheet
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
| kubectl get pods --all-namespaces | |
| kubectl get svc --all-namespaces | |
| kubectl logs --tail=100 -l app=order -n msdataworkshop | |
| kubectl logs --tail=100 -l app=inventory -n msdataworkshop | |
| kubectl logs -f -l app=order -n msdataworkshop | |
| kubectl logs -f -l app=inventory -n msdataworkshop | |
| kubectl cluster-info dump | |
| kubectl delete pod,service order | |
| kubectl delete pods,services -l name=myLabel | |
| # Workshop shortcuts | |
| deletepod describepod hpa logallpods logpod logpodistio pf pfkiali podshell toppod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment