diff --git a/cmd/kube-scheduler/app/options/options.go b/cmd/kube-scheduler/app/options/options.go index 9aa852c2231..a1f1c32e969 100644 --- a/cmd/kube-scheduler/app/options/options.go +++ b/cmd/kube-scheduler/app/options/options.go @@ -145,9 +145,6 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) { // ApplyTo applies the scheduler options to the given scheduler app configuration. func (o *Options) ApplyTo(c *schedulerappconfig.Config) error { - if len(o.ConfigFile) == 0 && len(o.WriteConfigTo) == 0 { - glog.Warning("WARNING: all flags other than --config, --write-config-to, and --cleanup are deprecated. Please begin using a config file ASAP.") - } if len(o.ConfigFile) == 0 { c.ComponentConfig = o.ComponentConfig