1
0
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:
Avesh Agarwal
2017-08-06 15:58:30 -04:00
parent d1023e0d00
commit 718efe69e1
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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"`