安装金山weboffice的时候遇到这个报错:
W0326 09:24:05.317578 26430 server.go:614] failed to get the kubelet's cgroup: mountpoint for cpu not found. Kubelet system container metrics may be missing.
W0326 09:24:05.319976 26430 server.go:621] failed to get the container runtime's cgroup: failed to get container name for docker process: mountpoint for cpu not found. Runtime system container metrics may be missing.
F0326 09:24:05.320034 26430 server.go:269] failed to run Kubelet: mountpoint for cpu not found
百度、google、bing之后发现解决办法:
mkdir /sys/fs/cgroup/cpu,cpuacct
mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct
经过测试,完美解决问题。