ant31
ant31

Reputation: 4760

Cascade delete with kubernetes master-API

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

Answers (1)

Jordan Liggitt
Jordan Liggitt

Reputation: 18111

No, cascading delete is client side only. There are plans to move that logic server side in future versions

Upvotes: 4

Related Questions