denverdino / lxcfs-admission-webhook

Apache License 2.0
158 stars 81 forks source link

cpu 没有正确获取,memory 正确获取 #9

Open autumn1023 opened 4 years ago

autumn1023 commented 4 years ago

node 节点的配置:8c 32g [root@VM_1_103_centos ~]# cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) [root@VM_1_103_centos ~]# uname -r 4.14.105-19-0012

image

image

查看 lxcfs 日志:出现如下日志报错 bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/pod6db043da-b4b6-11ea-a5c6-b65bbdc96ca7/9fc0fb03adacfc69b5f7a7129f627ef33b2690075a0b4421a6f18eccbe08b966/cpuacct.usage_all failed. bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/pod5b863638-b4b7-11ea-a5c6-b65bbdc96ca7/42a0a048389f016389bab0b65433ace5e6295471fe61661092e961d3f89f7cf8/cpuacct.usage_all failed. bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/pod64ab4316-b4b7-11ea-a5c6-b65bbdc96ca7/6b10e20c0c22d728587029312a6db44ee97567c029a0f0bfecdd6a152f5d6b22/cpuacct.usage_all failed. bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/podb76d2724-b4b7-11ea-a5c6-b65bbdc96ca7/69784ca0f8a43f9930dd64d71dd87db051530370751f51d7c50e032bd7b575ea/cpuacct.usage_all failed. bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/pod3ada9e2e-b4b7-11ea-a5c6-b65bbdc96ca7/c8e11c1f7b6eb6c66a7d82d3f8a9309241d3cc88e5d35c76a83f06f3d35a300e/cpuacct.usage_all failed. bindings.c: 4149: read_cpuacct_usage_all: read_cpuacct_usage_all reading from /kubepods/burstable/pod6db043da-b4b6-11ea-a5c6-b65bbdc96ca7/9fc0fb03adacfc69b5f7a7129f627ef33b2690075a0b4421a6f18eccbe08b966/cpuacct.usage_all failed.