Run defaulting on the scheduler startup

This commit is contained in:
Clayton Coleman
2016-09-30 17:39:47 -04:00
parent 3ee591d7ab
commit 957c0955aa
6 changed files with 13 additions and 3 deletions

View File

@@ -246,6 +246,7 @@ func initKubeletConfigSync(s *options.KubeletServer) (*componentconfig.KubeletCo
if err != nil {
return nil, err
}
api.Scheme.Default(&extKC)
kc := componentconfig.KubeletConfiguration{}
err = api.Scheme.Convert(&extKC, &kc, nil)
if err != nil {