Closed anngdinh closed 6 days ago
It's not necessary to mount this because the agent can access the host filesystem
I got this error if not mount
Please show the beginning of the log
As you can see in the log, the agent tried to access the cri-o socket through: /proc/1/root/var/run/crio/crio.sock
but encountered the no such file or directory
error. This issue may arise if /var/run/crio/crio.sock
or /var/run/crio
is a symlink. Could you please check this?
No. It's not a symlink, it's a sock file. But i don't understand why node agent can read the file if I don't mount it.
The agent runs in the host PID namespace and has access to the proc filesystem. It can reach the host mount namespace through /proc/1/root/...
I see /proc/1/root -> /
. I don't really catch it.
To understand this, please read the section explaining /proc/pid/root
in this documentation
Node agent need mount crio sock