Re: when delete deployment via rest api, corresponding rs and pod not deleted

2019-01-02 Thread Tomas Nozicka
You are likely not specifying deleteOptions for the API call and thus
defaulting to orphaning. You want propagationPolicy to be Foreground or
Background, not the default Orphan. 

Note that the default propagationPolicy also depends on Deployment API
version in question, I think since GA Orphan is no longer the default
value.


On Tue, 2018-12-25 at 16:33 +, Yu Wei wrote:
> Hi,
> 
> By calling rest api to delete deployment, deployment was deleted 
> successfully, however, corresponding replica set and pods were not
> deleted.
> How could I delete deployment via rest api?
> 

___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


when delete deployment via rest api, corresponding rs and pod not deleted

2018-12-25 Thread Yu Wei
Hi,

By calling rest api to delete deployment, deployment was deleted 
successfully, however, corresponding replica set and pods were not deleted.
How could I delete deployment via rest api?

-- 
Thanks
Jared
Interested in big data, cloud computing


___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users