sync gc is not going to be supported in 1.5

This commit is contained in:
Chao Xu 2016-11-28 21:01:47 -08:00
parent c180ba163b
commit e20b4585ce
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ You can set up owner-dependent relationships among other objects by manually set
When deleting an object, you can request the GC to ***asynchronously*** delete its dependents by ***explicitly*** specifying `deleteOptions.orphanDependents=false` in the deletion request that you send to the API server. A 200 OK response from the API server indicates the owner is deleted.
Synchronous garbage collection will be supported in 1.5 (tracking [issue](https://github.com/kubernetes/kubernetes/issues/29891)).
We are working on supporting synchronous garbage collection (tracking [issue](https://github.com/kubernetes/kubernetes/issues/29891)).
If you specify `deleteOptions.orphanDependents=true`, or leave it blank, then the GC will first reset the `ownerReferences` in the dependents, then delete the owner. Note that the deletion of the owner object is asynchronous, that is, a 200 OK response will be sent by the API server before the owner object gets deleted.