If you use kubectl delete deployment, it deletes de RS too.

And if you kubectl describe a deployment, it shows you, iirc, the replica
set using now and the old (if any)

On Tuesday, June 7, 2016, Yuvi Panda <[email protected]> wrote:

> Hello!
>
> When I delete a deployment object, it seems to leave behind the replicaset
> (+ pods) it was managing. Is this intentional? I see that deleting a
> replicaset cleans up the pods it was keeping alive, but can't seem to find
> something of that sort for the deployment object itself. Neither can I seem
> to find an easy way to just 'list the replicas maintained by this
> deployment object', making manual cleanup really hard too.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Containers at Google" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','google-containers%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at https://groups.google.com/group/google-containers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to