Register global options when start
This commit is contained in:
parent
77d40b5d79
commit
423b451444
|
|
@ -38,6 +38,7 @@ var logFlushFreq = pflag.Duration("log-flush-frequency", 5*time.Second, "Maximum
|
|||
func main() {
|
||||
s := options.NewServerOption()
|
||||
s.AddFlags(pflag.CommandLine)
|
||||
s.RegisterOptions()
|
||||
|
||||
flag.InitFlags()
|
||||
if err := s.CheckOptionOrDie(); err != nil {
|
||||
|
|
|
|||
|
|
@ -16,15 +16,4 @@ volcano.sh/volcano/pkg/controllers/job/plugins/env
|
|||
volcano.sh/volcano/pkg/controllers/job/plugins/interface
|
||||
volcano.sh/volcano/pkg/controllers/job/plugins/ssh
|
||||
volcano.sh/volcano/pkg/controllers/job/state
|
||||
volcano.sh/volcano/pkg/scheduler/actions/allocate
|
||||
volcano.sh/volcano/pkg/scheduler/actions/backfill
|
||||
volcano.sh/volcano/pkg/scheduler/actions/preempt
|
||||
volcano.sh/volcano/pkg/scheduler/actions/reclaim
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/conformance
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/drf
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/gang
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/predicates
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/priority
|
||||
volcano.sh/volcano/pkg/scheduler/plugins/proportion
|
||||
volcano.sh/volcano/pkg/scheduler/util
|
||||
volcano.sh/volcano/test/e2e
|
||||
|
|
|
|||
Loading…
Reference in New Issue