• Kubernetes Submit Queue's avatar
    Merge pull request #41500 from luxas/kubeadm_set_orphans · c2ad28be
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 41420, 41500)
    
    Set OrphanDependents=&falseVar so the GC will (or should) remove the dummy Pod
    
    **What this PR does / why we need it**:
    
    ref: https://github.com/kubernetes/kubeadm/issues/149
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    This doesn't remove the Pod yet, only the ReplicaSet, but once the GC is working as expected, it'll remove the Pod with this configuration
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    @errordeveloper @mikedanese @pires @caesarxuchao @krmayankk @kargakis
    c2ad28be
apiclient.go 4.9 KB