【发布时间】:2020-09-26 20:04:31
【问题描述】:
在 CentOS 8 中配置 Kubernetes 1.17 时,kubeadm 发出警告说 tc 命令不在路径中。
在 CentOS 8 中移除了 tc 命令,对于 Kubernetes 主机上没有这个命令有什么影响?
tc - show / manipulate traffic control settings
谢谢
【问题讨论】:
标签: kubernetes centos8
在 CentOS 8 中配置 Kubernetes 1.17 时,kubeadm 发出警告说 tc 命令不在路径中。
在 CentOS 8 中移除了 tc 命令,对于 Kubernetes 主机上没有这个命令有什么影响?
tc - show / manipulate traffic control settings
谢谢
【问题讨论】:
标签: kubernetes centos8
请使用安装:
dnf install -y iproute-tc
https://centos.pkgs.org/8/centos-baseos-x86_64/iproute-tc-4.18.0-15.el8.x86_64.rpm.html
【讨论】:
我认为tc 命令不会在 CentOS8 中删除。
在 CentOS8 中,似乎只删除了tc 命令中的-ok 选项。
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#tc-ok_networking
所以我认为 kubeadm 没有受到影响。
【讨论】:
rpm -ql iproute |grep '/tc$'