Make kube-proxy resync its rules on firewalld restart
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user