您好,登錄后才能下訂單哦!
kube-proxy 日志:I0923 10:19:59.443659 543401 proxier.go:1729] Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it
kubelet日志:I0923 11:24:47.087532 1941 kubelet_network_linux.go:111] Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it
持續(xù)不間斷出現(xiàn)這樣的錯(cuò)誤
按照錯(cuò)誤日志提示iptables 本地版本不支持升級(jí)iptables
yum install gcc make libnftnl-devel libmnl-devel autoconf automake libtool bison flex libnetfilter_conntrack-devel libnetfilter_queue-devel libpcap-devel
export LC_ALL=C
wget wget https://www.netfilter.org/projects/iptables/files/iptables-1.6.2.tar.bz2
tar -xvf iptables-1.6.2.tar.bz2
cd iptables-1.6.2
./autogen.sh
./configure
make -j4
make install
# 當(dāng)然可以把cd /usr/local/sbin下面的iptables相關(guān)的東西打包然后分發(fā)到其它服務(wù)器
cd /usr/local/sbin
\cp iptables /sbin
\cp iptables-restore /sbin/
\cp iptables-save /sbin/
service kube-proxy restart
service kubelet restart
# 再次觀察已經(jīng)沒(méi)有此日志出現(xiàn)一切恢復(fù)正常。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。