Merge pull request #2927 from nikhiljindal/cascDel1.6

Updating cascading deletion info for federation
This commit is contained in:
devin-donnelly
2017-03-21 11:34:17 -07:00
committed by GitHub
@@ -108,27 +108,20 @@ resources supported by federation apiserver.
## Cascading deletion ## Cascading deletion
Kubernetes version 1.5 includes support for cascading deletion of federated Kubernetes version 1.6 includes support for cascading deletion of federated
resources. With cascading deletion, when you delete a resource from the resources. With cascading deletion, when you delete a resource from the
federation control plane, the corresponding resources in all underlying clusters federation control plane, the corresponding resources in all underlying clusters
are also deleted. are also deleted.
To enable cascading deletion, set the option Cascading deletion is not enabled by default when using the REST API. To enable
`DeleteOptions.orphanDependents=false` when you delete a resource from the it, set the option `DeleteOptions.orphanDependents=false` when you delete a
federation control plane. resource from the federation control plane using REST API. Using `kubectl
delete`
The following Federated resources are affected by cascading deletion: will enable cascading deletion by default. You can disable it by running `kubectl
delete --cascade=false`
* [Ingress](https://kubernetes.io/docs/user-guide/federation/federated-ingress/)
* [Namespaces](https://kubernetes.io/docs/user-guide/federation/namespaces/)
* [ReplicaSets](https://kubernetes.io/docs/user-guide/federation/replicasets/)
* [Secrets](https://kubernetes.io/docs/user-guide/federation/secrets/)
* [Deployment](https://kubernetes.io/docs/user-guide/federation/deployment/)
* [DaemonSets](https://kubernetes.io/docs/user-guide/federation/daemonsets/)
Note: By default, deleting a resource from federation control plane does not
delete the corresponding resources from underlying clusters.
Note: Kubernetes version 1.5 included cascading deletion support for a subset of
federation resources.
## For more information ## For more information