Documentation ¶
Overview ¶
Package options provides the descheduler flags
Index ¶
Constants ¶
View Source
const (
DefaultDeschedulerPort = 10258
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeschedulerServer ¶
type DeschedulerServer struct { componentconfig.DeschedulerConfiguration Client clientset.Interface EventClient clientset.Interface MetricsClient metricsclient.Interface SecureServing *apiserveroptions.SecureServingOptionsWithLoopback SecureServingInfo *apiserver.SecureServingInfo DisableMetrics bool EnableHTTP2 bool // FeatureGates enabled by the user FeatureGates map[string]bool // DefaultFeatureGates for internal accessing so unit tests can enable/disable specific features DefaultFeatureGates featuregate.FeatureGate }
DeschedulerServer configuration
func NewDeschedulerServer ¶
func NewDeschedulerServer() (*DeschedulerServer, error)
NewDeschedulerServer creates a new DeschedulerServer with default parameters
func (*DeschedulerServer) AddFlags ¶
func (rs *DeschedulerServer) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific SchedulerServer to the specified FlagSet
func (*DeschedulerServer) Apply ¶ added in v0.32.0
func (rs *DeschedulerServer) Apply() error
Click to show internal directories.
Click to hide internal directories.