Add log for creating node shutdown manager

This commit is contained in:
Shiming Zhang 2021-07-08 10:08:58 +08:00
parent b468c24e85
commit e47c78a354

View File

@ -103,6 +103,10 @@ func NewManager(conf *Config) (Manager, lifecycle.PodAdmitHandler) {
shutdownGracePeriodCriticalPods: conf.ShutdownGracePeriodCriticalPods,
clock: conf.Clock,
}
klog.InfoS("Creating node shutdown manager",
"shutdownGracePeriodRequested", conf.ShutdownGracePeriodRequested,
"shutdownGracePeriodCriticalPods", conf.ShutdownGracePeriodCriticalPods,
)
return manager, manager
}