Reputation: 4760
In the kubectl tool there is the option:
--cascade[=true]: If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController). Default true.
But when I'm doing the 'delete' using the API(1.2) by default the deleted resources doesn't cascade.
Is there a simple way to do it with the api?
Upvotes: 2
Views: 1086
Reputation: 18111
No, cascading delete is client side only. There are plans to move that logic server side in future versions
Upvotes: 4