-
Notifications
You must be signed in to change notification settings - Fork 469
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
kube-router doesn't support named port configurations #338
Comments
@eranreshef thanks for reporting. Support for named port is not added yet. We will work on fix in one of upcoming releases. |
This bug hit me hard a while ago. It seems like kube-router is not able to recover from a NetworkPolicy with a named port, even if that named port is removed. Restarting kube-router does not fix the issue, the only workaround that I found was to reboot all nodes in the Kubernetes cluster. Until kube-router has support for named ports, would it be possible to at least filter those rules out? |
Oops that sounds bad. It should have been more gracefully handled by kube-router. Will fix it (not the support for named ports but graceful handling) for next coming release. |
When I try to apply a
NetworkPolicy
object that making use of named ports defined in a deployment/daemonset/statefulset spec, I get the following errors that are followed by crashes of the kube-router pods:(In addition, it seems that there is usage in deprecated
iptables
options).When modifying the NetworkPolicy to work with numbered ports, everything is ok.
The text was updated successfully, but these errors were encountered: