1. Usage: Delete all completed pods by namespace(say namespace is "internal").
$: kubectl delete po --namespace internal $(kubectl get po --namespace internal | grep Completed | awk '{if ($1 !="") print $1}')
$: kubectl delete po $(kubectl get po --namespace default | awk '!/NAME/'| awk '{if ($1 !="") print $1}')
$:helm delete --purge $(helm list | awk '!/NAME/' | awk '!/mysql/' | awk '!/redis/' | awk '!/php-myadmin/' | awk '{if ($1 !="") print $1}')
$:alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)'
$:alias docker_clean_ps='docker rm $(docker ps --filter=status=exited --filter=status=created -q)'
$:docker kill $(docker ps -q)
$:docker_clean_ps
$:docker rmi $(docker images -a -q)