Y
Hacker News
new
|
ask
|
show
|
jobs
by
bavell
1479 days ago
'kubectl delete -f dir/' will delete all resources in the directory.
1 comments
throwaway894345
1479 days ago
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. :)
link
bavell
1476 days ago
Ah, I slightly misunderstood. Still, you should always have your manifests under version control so this shouldn't ever be a problem :)
link