Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
bavell
4y ago
0 comments
Save
Share
'kubectl delete -f dir/' will delete all resources in the directory.
0 comments
2 comments · 1 top-level
top
newest
oldest
throwaway894345
4y ago
· 1 in thread
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. :)
bavell
OP
4y ago
Ah, I slightly misunderstood. Still, you should always have your manifests under version control so this shouldn't ever be a problem :)
j
/
k
navigate · click thread line to collapse