Centos 7安装kube-proxy出错,实验没法进行
来源:7-8 kube-proxy和kube-dns
ceiba
2019-07-29
[root@k1 ~]# journalctl -f -u kube-proxy
– Logs begin at 日 2019-07-14 09:28:20 CST. –
7月 15 06:35:09 k1 kube-proxy[4929]: )
7月 15 06:35:09 k1 kube-proxy[4929]: I0715 06:35:09.152292 4929 proxier.go:1669] Closing local ports after iptables-restore failure
7月 15 06:35:39 k1 kube-proxy[4929]: E0715 06:35:39.218654 4929 proxier.go:1667] Failed to execute iptables-restore: exit status 1 (iptables-restore: invalid option – ‘5’
7月 15 06:35:39 k1 kube-proxy[4929]: Try iptables-restore -h' for more information. 7月 15 06:35:39 k1 kube-proxy[4929]: ) 7月 15 06:35:39 k1 kube-proxy[4929]: I0715 06:35:39.218746 4929 proxier.go:1669] Closing local ports after iptables-restore failure 7月 15 06:36:09 k1 kube-proxy[4929]: E0715 06:36:09.270135 4929 proxier.go:1667] Failed to execute iptables-restore: exit status 1 (iptables-restore: invalid option -- '5' 7月 15 06:36:09 k1 kube-proxy[4929]: Try
iptables-restore -h’ for more information.
7月 15 06:36:09 k1 kube-proxy[4929]: )
7月 15 06:36:09 k1 kube-proxy[4929]: I0715 06:36:09.270229 4929 proxier.go:1669] Closing local ports after iptables-restore failure
7月 15 06:36:39 k1 kube-proxy[4929]: E0715 06:36:39.335079 4929 proxier.go:1667] Failed to execute iptables-restore: exit status 1 (iptables-restore: invalid option – ‘5’
7月 15 06:36:39 k1 kube-proxy[4929]: Try `iptables-restore -h’ for more information.
7月 15 06:36:39 k1 kube-proxy[4929]: )
7月 15 06:36:39 k1 kube-proxy[4929]: I0715 06:36:39.335174 4929 proxier.go:1669] Closing local ports after iptables-restore failure
2回答
-
慕桂英5342883
2019-09-11
kube-proxy 1.14 版本,替换即可,亲测可用
链接:https://pan.baidu.com/s/1ZZrb_zSBWhND8UCt7U9hPw 密码:59eu
等学完我要把版本升级到最新的,这个鬼问题折腾了我一个晚上。
222021-02-16 -
刘果国
2019-07-30
版本兼容问题,升级一下kubeproxy,下载一个1.11之后的即可,其他组件不影响
00
相似问题