mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #13669 from aveshagarwal/proxy-birthcry-fix
Auto commit by PR queue bot
This commit is contained in:
commit
5a01a760b2
@ -159,9 +159,6 @@ func (s *ProxyServer) Run(_ []string) error {
|
|||||||
Namespace: "",
|
Namespace: "",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Birth Cry
|
|
||||||
s.birthCry()
|
|
||||||
|
|
||||||
serviceConfig := config.NewServiceConfig()
|
serviceConfig := config.NewServiceConfig()
|
||||||
endpointsConfig := config.NewEndpointsConfig()
|
endpointsConfig := config.NewEndpointsConfig()
|
||||||
|
|
||||||
@ -208,6 +205,9 @@ func (s *ProxyServer) Run(_ []string) error {
|
|||||||
iptables.CleanupLeftovers(ipt)
|
iptables.CleanupLeftovers(ipt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Birth Cry after the birth is successful
|
||||||
|
s.birthCry()
|
||||||
|
|
||||||
// Wire proxier to handle changes to services
|
// Wire proxier to handle changes to services
|
||||||
serviceConfig.RegisterHandler(proxier)
|
serviceConfig.RegisterHandler(proxier)
|
||||||
// And wire endpointsHandler to handle changes to endpoints to services
|
// And wire endpointsHandler to handle changes to endpoints to services
|
||||||
|
Loading…
Reference in New Issue
Block a user