delete all elements inside a namesapce kubernetes code example Example: delete all pods in default namespace kubectl delete --all pods --namespace default