1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Add dry run option.

This commit is contained in:
Avesh Agarwal
2017-09-26 15:14:10 -04:00
parent 14fe084949
commit b7a7fd621e
10 changed files with 29 additions and 17 deletions

View File

@@ -34,4 +34,7 @@ type DeschedulerConfiguration struct {
// PolicyConfigFile is the filepath to the descheduler policy configuration.
PolicyConfigFile string
// Dry run
DryRun bool
}

View File

@@ -33,5 +33,8 @@ type DeschedulerConfiguration struct {
KubeconfigFile string `json:"kubeconfigFile"`
// PolicyConfigFile is the filepath to the descheduler policy configuration.
PolicyConfigFile string `json:"policyConfigFile,,omitempty"`
PolicyConfigFile string `json:"policyConfigFile,omitempty"`
// Dry run
DryRun bool `json:"dryRun,omitempty"`
}