mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Add failure handling of the desiredStateOfWorldPopulator start
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
parent
fa16bf8e12
commit
c6b4725e55
@ -108,7 +108,11 @@ var _ PluginManager = &pluginManager{}
|
|||||||
func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) {
|
func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) {
|
||||||
defer runtime.HandleCrash()
|
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.V(2).InfoS("The desired_state_of_world populator (plugin watcher) starts")
|
||||||
|
|
||||||
klog.InfoS("Starting Kubelet Plugin Manager")
|
klog.InfoS("Starting Kubelet Plugin Manager")
|
||||||
|
Loading…
Reference in New Issue
Block a user