• Kubernetes Submit Queue's avatar
    Merge pull request #52977 from yanxuean/improvecgroup · c60b35bc
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 54837, 55970, 55912, 55898, 52977). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Improve kubelet cgroup
    
    **What this PR does / why we need it**:
    1.Use arg cgroupRoot,not nodeConfig.CgroupRoot
        Using both arg cgroupRoot and nodeConfig.CgroupRoot is confused in function NewQOSContainerManager
    2.improve cgroupmanager in qosContainerManager
    3. improve arg "cgroupRoot" type in NewQOSContainerManager
    
    **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**:
    
    **Release note**:
    
    ```release-note
    ```
    c60b35bc
qos_container_manager_linux.go 11.5 KB