Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fpapon/kcheat
https://github.com/fpapon/kcheat
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fpapon/kcheat
- Owner: fpapon
- License: apache-2.0
- Created: 2024-11-19T07:40:31.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-19T07:45:55.000Z (about 1 month ago)
- Last Synced: 2024-11-19T08:37:42.806Z (about 1 month ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Kubernetes Cheat Sheet
== Clean zombie pods
If you have a disk pressure on a node, you can try to clean up all zombie pods:
[source, bash]
----
kubectl get pods --all-namespaces | egrep -i 'Evicted|Terminated|ContainerStatusUn|Error' | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod --force=true --wait=false --grace-period=0
----