If you want to delete all resources under a namespace, you could just simply delete the namespace. You can recreate the namespace if you still need that namespace.
kubectl delete namespace <namespace-name>
If you want to delete all resources under a namespace, you could just simply delete the namespace. You can recreate the namespace if you still need that namespace.
kubectl delete namespace <namespace-name>