mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
Move ReschedulingInterval to rescheduler's configuration out of
rescheduler's policy.
This commit is contained in:
@@ -23,6 +23,9 @@ import (
|
||||
type ReschedulerConfiguration struct {
|
||||
metav1.TypeMeta
|
||||
|
||||
// Time interval for rescheduler to run
|
||||
ReschedulingInterval time.Duration
|
||||
|
||||
// KubeconfigFile is path to kubeconfig file with authorization and master
|
||||
// location information.
|
||||
KubeconfigFile string
|
||||
|
||||
@@ -23,6 +23,9 @@ import (
|
||||
type ReschedulerConfiguration struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
// Time interval for rescheduler to run
|
||||
ReschedulingInterval time.Duration `json:"reschedulingInterval,omitempty"`
|
||||
|
||||
// KubeconfigFile is path to kubeconfig file with authorization and master
|
||||
// location information.
|
||||
KubeconfigFile string `json:"kubeconfigFile"`
|
||||
|
||||
Reference in New Issue
Block a user