执行 kubeadm join 命令后,遇到一系列的not found in system path

[WARNING FileExisting-ebtables]: ebtables not found in system path
[WARNING FileExisting-ethtool]: ethtool not found in system path
[WARNING FileExisting-tc]: tc not found in system path
[ERROR FileExisting-conntrack]: conntrack not found in system path
[ERROR FileExisting-iptables]: iptables not found in system path

并且发现对应的package都已经安装了

ebtables is already the newest version (2.0.11-5).
ebtables set to manually installed.
ethtool is already the newest version (1:6.1-1).
ethtool set to manually installed.

解决方案:退出root账户即可。是我之前使用kubadm reset用了root账户,所以导致后面join的时候忘记退出。导致环境变量并没有这些path。

posted on 2024-05-26 10:59  iTrice  阅读(129)  评论(0编辑  收藏  举报