Hacker News new | past | comments | ask | show | jobs | submit login

'kubectl delete -f dir/' will delete all resources in the directory.



Right, but the only resource you want to delete is no longer in that directory, so you’ve now deleted every resource you except the one you actually wanted to delete. :)


Ah, I slightly misunderstood. Still, you should always have your manifests under version control so this shouldn't ever be a problem :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: