# Delete all evicted pods. kubectl get po --all-namespaces --field-selector 'status.phase!=Running' -o yaml | kubectl delete -f - # List all resources in a namespace. kubectl api-resources --verbs=list --namespaced -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -n # Trigger cronjob manually. kubectl create job --from=cronjob/ # Run busybox. kubectl run -i --tty busybox --image=busybox --restart=Never -- sh