lxcfs-admission-webhook
lxcfs-admission-webhook copied to clipboard
pod 出现CrashLoopBackOff
Message: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/var/lib/lxcfs/proc/cpuinfo\" to rootfs \"/var/lib/docker/overlay2/c8de89d9c388253c25184e2dccc283ee76762db1f65ddef9ec2b2d702b5cb9f3/merged\" at \"/var/lib/docker/overlay2/c8de89d9c388253c25184e2dccc283ee76762db1f65ddef9ec2b2d702b5cb9f3/merged/proc/cpuinfo\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
我也出现这个问题了,node节点重启之后就这样。请问你解决了吗?
在deployment中添加一个init容器,把/var/lib/lxcfs/中的内容删除