Documentation ¶
Index ¶
Constants ¶
View Source
const ( // refer to issue https://github.com/volcano-sh/volcano/issues/2075, // plugin cdp means cooldown protection, related to elastic scheduler, // when we need to enable elastic training or serving, // preemptible job's pods can be preempted or back to running repeatedly, // if no cooldown protection set, these pods can be preempted again after they just started for a short time, // this may cause service stability dropped. // cdp plugin here is to ensure vcjob's pods cannot be preempted within cooldown protection conditions. // currently cdp plugin only support cooldown time protection. PluginName = "cdp" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CooldownProtectionPlugin ¶
type CooldownProtectionPlugin struct { }
func (*CooldownProtectionPlugin) Name ¶
func (*CooldownProtectionPlugin) Name() string
Name implements framework.Plugin
func (*CooldownProtectionPlugin) OnSessionClose ¶
func (*CooldownProtectionPlugin) OnSessionClose(ssn *framework.Session)
OnSessionClose implements framework.Plugin
func (*CooldownProtectionPlugin) OnSessionOpen ¶
func (sp *CooldownProtectionPlugin) OnSessionOpen(ssn *framework.Session)
OnSessionOpen implements framework.Plugin
Click to show internal directories.
Click to hide internal directories.