Last active
February 16, 2025 22:08
-
-
Save sharepointoscar/0c35e6fb9151a1967bd68253b1bf802f to your computer and use it in GitHub Desktop.
Minikube - Delete all pods from default namespace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete all pods | |
kubectl delete --all pods --namespace=default | |
# deete all deployments | |
kubectl delete --all deployments --namespace=default | |
# delete all services | |
kubectl delete --all services --namespace=default | |
Hi,
you have to delete the controller, because everytime you delete your pods, the controller gonna respawn it.
kubectl delete replicationcontroller controllerName
kubernetes/kubernetes#26375 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
still i am unable to delete my pods from my namespace