wangjianyu

Results 124 comments of wangjianyu

> @ZiMengSheng Could you please show us the output when executing the commands below? > > ``` > $ # execute on a KinD node > $ ls -l /sys/fs/cgroup/cpu...

This is the contents of `/sys/fs/cgroup`: ![image](https://user-images.githubusercontent.com/20925848/179713992-d73ddd6d-8403-4d94-b3ee-3a1f7f3d44ee.png) I don't have another linux machine, could show me normal contents of `/sys/fs/cgroup` in normal linux machine.

I have set cgroups-v1 in KinD node. But koordlet doesn't identify cgroups paths. this is the contents of /sys/fs/cgroup/cpu. ![image](https://user-images.githubusercontent.com/20925848/180122137-e0559e77-a480-419b-89cc-7d7320d45e9d.png)

@saintube this is the output of `grep -i "cgroup" /var/lib/kubelet/config.yaml` ``` cgroupDriver: systemd cgroupRoot: /kubelet ``` but I can't cd into /kubelet

yes, you may be right. this is the path similar to your cgrouppath, but named kubelet-kubepods.slice. ![image](https://user-images.githubusercontent.com/20925848/180229715-de491dd7-1709-4c9f-9a77-5d3fbd87c870.png)

这个PR 有空 rebase 一下上游哈,然后之前改动的 cpu 返回的在 restricted 策略下需要返回 preferred=true,我看只感知了节点策略,本PR 加上Pod 级别的策略后这部分逻辑没有对齐