UPSTREAM: <drop>: skip scheduler configz error, drop once we run in a separate process
@@ -380,7 +380,9 @@ func NewSchedulerServer(config *componentconfig.KubeSchedulerConfiguration, mast
if c, err := configz.New("componentconfig"); err == nil {
c.Set(config)
} else {
- return nil, fmt.Errorf("unable to register configz: %s", err)
+ // don't fail on this error. somethign else is registering this (dear lord what?!).
+ // drop once we're in a separate process
+ utilruntime.HandleError(fmt.Errorf("unable to register configz: %s", err))
}
// Prepare some Kube clients.
