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
持續不間斷出現這樣的錯誤
按照錯誤日志提示iptables 本地版本不支持升級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
# 當然可以把cd /usr/local/sbin下面的iptables相關的東西打包然后分發到其它服務器
cd /usr/local/sbin
\cp iptables /sbin
\cp iptables-restore /sbin/
\cp iptables-save /sbin/
service kube-proxy restart
service kubelet restart
# 再次觀察已經沒有此日志出現一切恢復正常。
分享標題:k8s1.16.0+flannel+kube-proxy出現--random-fully解決
URL鏈接:http://www.yijiale78.com/article44/ihohhe.html
成都網站建設公司_創新互聯,為您提供網站改版、App設計、營銷型網站建設、網站設計、網站制作、標簽優化
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯