mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
Update rescheduler's component configuration.
This commit is contained in:
@@ -23,6 +23,10 @@ import (
|
||||
type ReschedulerConfiguration struct {
|
||||
metav1.TypeMeta
|
||||
|
||||
// KubeConfigFile is path to kubeconfig file with authorization and master
|
||||
// location information.
|
||||
KubeConfigFile string
|
||||
|
||||
// PolicyConfigFile is the filepath to the rescheduler policy configuration.
|
||||
PolicyConfigFile string
|
||||
}
|
||||
|
||||
@@ -23,6 +23,10 @@ import (
|
||||
type ReschedulerConfiguration struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
// KubeConfigFile is path to kubeconfig file with authorization and master
|
||||
// location information.
|
||||
KubeConfigFile string `json:"kubeConfigFile"`
|
||||
|
||||
// PolicyConfigFile is the filepath to the rescheduler policy configuration.
|
||||
PolicyConfigFile string `json:"policyConfigFile"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user