赞
踩
错误情况,报calico错误
remote_runtime.go:351] ExecSync '/bin/calico-node -bird-ready -felix-ready' from runtime service failed: rpc error: code = Unknown desc = unable to upgrade to tcp, received 404
# kubectl describe po calico-node-b4n6j -n kube-system
Last State: Terminated
Reason: ContainerCannotRun
Message: error while creating mount source path '/opt/cni/bin': mkdir /opt/cni: read-only file system
Exit Code: 128
read-only file system? 我可是在docker环境下呀…继续排查
发现是docker snap的原因: 即系统中通过snap安装了一个docker
# 查看 snap 安装的应用
# sudo snap list
Name Version Rev Tracking Publisher Notes
core 16-2.51.4 11606 latest/stable canonical✓ core
core18 20210722 2128 latest/stable canonical✓ base
docker 19.03.13 796 latest/stable canonical✓ -
确实是…那么删除掉重启就大功告成了
# sudo snap remove docker
docker removed
# reboot
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。