fxing kubemark node labels

This commit is contained in:
Krzysztof Siedlecki 2019-11-28 10:23:48 +01:00
parent 7ed5eb6dcc
commit 5cf06bfa80

View File

@ -159,6 +159,7 @@ func GetHollowKubeletConfig(opt *HollowKubletOptions) (*options.KubeletFlags, *k
f.MinimumGCAge = metav1.Duration{Duration: 1 * time.Minute}
f.MaxContainerCount = 100
f.MaxPerPodContainerCount = 2
f.NodeLabels = opt.NodeLabels
f.RegisterNode = true
f.RegisterSchedulable = true
f.ProviderID = fmt.Sprintf("kubemark://%v", opt.NodeName)