Merge pull request #147 from dlorenc/iptables

Set the proxy mode to iptables.
pull/149/head
Lucas Käldström 2016-06-01 22:36:02 +03:00
commit cee0afa4eb
1 changed files with 1 additions and 2 deletions

View File

@ -38,8 +38,7 @@ func StartProxyServer(lk LocalkubeServer) func() error {
// master details
config.Master = lk.GetAPIServerInsecureURL()
// TODO: investigate why IP tables is not working
config.Mode = componentconfig.ProxyModeUserspace
config.Mode = componentconfig.ProxyModeIPTables
// defaults
config.OOMScoreAdj = &OOMScoreAdj