直到显示 说明 可以了 最后
发布时间:2025-06-24 20:29:23 作者:北方职教升学中心 阅读量:267
启动kube-proxy服务时出现以下错误a;Failed to execute iptables-restore: exit status 1 (iptables-restore: invalid option – ‘5’。
直到显示 说明 可以了 最后,看看监控端口是否正常。
rpm -ivh iptables-1.4.21-24.1.el7_5.x86.rpm。
kubectl get services。
rpm -e --nodeps iptables-libs-1.8.4-22.0.2.al8.1.x86_64。
journalctl -f -u kube-proxy。
然后执行。
netstat -ntlp | grep 38582.
折腾了一天终于可以了。
删除以前的。
执行 rpm -ivh iptables-1.4.21-24.1.el7_5.x86.rpm。
我用的k8s是1.90 二进制安装
一般说版本太低怎么办? 下载并上传低版iptablee
1 下载地址 https://download.csdn.net/download/qq_33121481/13218948 我以前用过 iptables-1.4.21-24.el7.x86_64.rpm 不可以。
service kube-proxy restart。
解压后。
iptables-1.4.21-24.1.el7_5.x86.rpm 这是可以的。
因为以前安装过 所以 提示冲突。