After the virtual machine where the k8s node is located is upgraded online, k8s cgroup is not aware of it. How to solve this problem without restarting the machine? Because I want to achieve online upgrade.
The phenomenon is as follows:
[root@ cpuset]# cd /sys/fs/cgroup/cpuset
[root@ cpuset]# cat cpuset.cpus
0-3
after online upgrade(4c to cpu 8c):
[root@ cpuset]# cat cpuset.cpus
0-7
but k8s cpuset is not update:
[root@ kubepods.slice]# cd /sys/fs/cgroup/cpuset/kubepods.slice
[root@ kubepods.slice]# cat cpuset.cpus
0-3