Ultimate access to all questions.
You initially created a Kubernetes deployment with the command kubectl run nginx –image=nginx –replicas=1
. After deciding to remove this deployment, you deleted the pod using kubectl delete pod
, only to find it was recreated. What is the correct action to permanently delete the deployment and prevent the pod from being recreated?