Documentation ¶
Overview ¶
Deprecated: it was renamed to the debuggablescheduler plugin. We'll remove it soon.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOptionForOutOfTreePlugin
deprecated
func CreateOptionForOutOfTreePlugin(outOfTreePluginRegistry runtime.Registry, pluginExtender map[string]plugin.PluginExtenderInitializer) ([]app.Option, func(), error)
CreateOptionForOutOfTreePlugin creates the option which can be help with running the debuggable scheduler. It does: - create the wrapped plugin registries and return the registries as app.Option - initialize and start the store reflector. - the scheduler config conversion
- reads the scheduling config passed from users (or use the default config)
- converts it for enabling wrapped plugins
- makes the defaulting func of the KubeSchedulerConfig always returning the converted one. We can let the scheduler use the converted configuration under any circumstances because the scheduler will always use this defaulting func to load the configuration.
Deprecated: the externalscheduler package was renamed to the debuggablescheduler plugin. We'll remove it soon.
func NewSchedulerCommand
deprecated
Types ¶
type Option
deprecated
type Option func(opt *options)
Deprecated: the externalscheduler package was renamed to the debuggablescheduler plugin. We'll remove it soon.
func WithPlugin ¶
func WithPlugin(pluginName string, factory runtime.PluginFactory) Option
WithPlugin creates an Option based on plugin name and factory. Deprecated: the externalscheduler package was renamed to the debuggablescheduler plugin. We'll remove it soon.
func WithPluginExtenders ¶
func WithPluginExtenders(pluginName string, e plugin.PluginExtenderInitializer) Option
WithPluginExtenders creates an Option based on plugin name and plugin extenders. Deprecated: the externalscheduler package was renamed to the debuggablescheduler plugin. We'll remove it soon.