mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 08:40:42 +00:00
Merge pull request #110901 from ping035627/k8s-220701
Add failure handling of the desiredStateOfWorldPopulator start
This commit is contained in:
commit
850a5ffda6
@ -108,7 +108,11 @@ var _ PluginManager = &pluginManager{}
|
||||
func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) {
|
||||
defer runtime.HandleCrash()
|
||||
|
||||
pm.desiredStateOfWorldPopulator.Start(stopCh)
|
||||
if err := pm.desiredStateOfWorldPopulator.Start(stopCh); err != nil {
|
||||
klog.ErrorS(err, "The desired_state_of_world populator (plugin watcher) starts failed!")
|
||||
return
|
||||
}
|
||||
|
||||
klog.V(2).InfoS("The desired_state_of_world populator (plugin watcher) starts")
|
||||
|
||||
klog.InfoS("Starting Kubelet Plugin Manager")
|
||||
|
Loading…
Reference in New Issue
Block a user