-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CentOS7下Node节点主机无法监听expose暴露的服务端口 #20
Comments
厉害了,非常感谢 👍 |
厉害厉害,非常感谢💯 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在CentOS7中kube-proxy组件运行时会报iptables错误,导致Node节点无法监听到服务端口。
proxier.go:1667] Failed to execute iptables-restore: exit status 1 (iptables-restore: invalid option -- '5'
查阅资料发现kubernetes1.9会与iptables有冲突,官方和老师提供的1.9版本二进制文件均未修复此问题。
官方解决Fix use of "-w" flag to iptables-restore
解决过程:
编译更新后的1.9版本源代码为二进制,替换kube-proxy文件,更改权限,重启服务则可以解决问题。
编译后的kube-proxy文件
如果可以的话希望老师更新一下百度云里的资源,会为其他学习者省不少事,非常感谢。
The text was updated successfully, but these errors were encountered: