mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #104708 from mysunshine92/scheduler-log
Scheduler version should be printed out by default(--v=0)
This commit is contained in:
commit
495cf6898f
@ -138,7 +138,7 @@ func runCommand(cmd *cobra.Command, opts *options.Options, registryOptions ...Op
|
||||
// Run executes the scheduler based on the given configuration. It only returns on error or when context is done.
|
||||
func Run(ctx context.Context, cc *schedulerserverconfig.CompletedConfig, sched *scheduler.Scheduler) error {
|
||||
// To help debugging, immediately log version
|
||||
klog.V(1).InfoS("Starting Kubernetes Scheduler version", "version", version.Get())
|
||||
klog.InfoS("Starting Kubernetes Scheduler", "version", version.Get())
|
||||
|
||||
// Configz registration.
|
||||
if cz, err := configz.New("componentconfig"); err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user