mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Add log for creating node shutdown manager
This commit is contained in:
parent
b468c24e85
commit
e47c78a354
@ -103,6 +103,10 @@ func NewManager(conf *Config) (Manager, lifecycle.PodAdmitHandler) {
|
|||||||
shutdownGracePeriodCriticalPods: conf.ShutdownGracePeriodCriticalPods,
|
shutdownGracePeriodCriticalPods: conf.ShutdownGracePeriodCriticalPods,
|
||||||
clock: conf.Clock,
|
clock: conf.Clock,
|
||||||
}
|
}
|
||||||
|
klog.InfoS("Creating node shutdown manager",
|
||||||
|
"shutdownGracePeriodRequested", conf.ShutdownGracePeriodRequested,
|
||||||
|
"shutdownGracePeriodCriticalPods", conf.ShutdownGracePeriodCriticalPods,
|
||||||
|
)
|
||||||
return manager, manager
|
return manager, manager
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user