Make kube-proxy resync its rules on firewalld restart

This commit is contained in:
Dan Winship
2015-08-14 12:38:43 -04:00
parent 8bc9c40796
commit 30ea22f40e
4 changed files with 22 additions and 10 deletions

View File

@@ -240,6 +240,8 @@ func (s *ProxyServer) Run(_ []string) error {
}, 5*time.Second, util.NeverStop)
}
ipt.AddReloadFunc(proxier.Sync)
// Just loop forever for now...
proxier.SyncLoop()
return nil