We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8235c8 + dc5efea commit a2b3e74Copy full SHA for a2b3e74
cmd/kar-scheduler/app/options/options.go
@@ -40,7 +40,7 @@ func (s *ServerOption) AddFlags(fs *pflag.FlagSet) {
40
fs.StringVar(&s.Kubeconfig, "kubeconfig", s.Kubeconfig, "Path to kubeconfig file with authorization and master location information.")
41
// kube-arbitrator will ignore pods with scheduler names other than specified with the option
42
fs.StringVar(&s.SchedulerName, "scheduler-name", "kar-scheduler", "kube-arbitrator will handle pods with the scheduler-name")
43
- fs.StringArrayVar(&s.Actions, "actions", []string{"decorate", "allocate"}, "The actions that executed by scheduler")
+ fs.StringArrayVar(&s.Actions, "action", []string{"decorate", "allocate"}, "The actions that executed by scheduler")
44
}
45
46
func (s *ServerOption) CheckOptionOrDie() {
0 commit comments