Kubectl is not letting me deleting anything - How do I delete all the current deployments? Kubectl is not letting me deleting anything - How do I delete all the current deployments? kubernetes kubernetes

Kubectl is not letting me deleting anything - How do I delete all the current deployments?


kubectl get all shows you the resources you created

in this case it starts with the kind and the resource name.

You can easily type kubectl delete pod/my-ngnix to delete the pod. Your command kubectl run my-ngnix --image nginx created just the pod without a deployment.