Deleting a Deployment
If a deployment is unnecessary or you need to delete the existing deployment before creating one, run the following command to delete the deployment:
1 | kubectl delete -f ./mysql_deployment.yaml |
Parent topic: Maintaining the Deployment Using the YAML File