mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-22 03:10:26 +00:00
Automatic merge from submit-queue Let kubectl delete rc and rs with DeleteOptions.OrphanDependents=false so that when the garbage collector is enabled, RC and RS are deleted immediately without waiting for the garbage collector to orphan the pods. There is no user visible changes, so we don't need a release note. cc @fabioy <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30461) <!-- Reviewable:end -->