Updating cascading deletion info for federation

reviewable/pr2927/r1
nikhiljindal 2017-03-20 15:15:15 -07:00
parent e12c965102
commit 0007aa6404
1 changed files with 9 additions and 16 deletions

View File

@ -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