Log version info at start.

This commit is contained in:
Matt Liggett 2016-06-20 16:15:52 -07:00
parent a3f09700e5
commit 3c78acdb9b

View File

@ -36,6 +36,7 @@ import (
"k8s.io/kubernetes/pkg/healthz"
"k8s.io/kubernetes/pkg/util/configz"
"k8s.io/kubernetes/pkg/util/wait"
"k8s.io/kubernetes/pkg/version"
"github.com/golang/glog"
"github.com/prometheus/client_golang/prometheus"
@ -70,6 +71,7 @@ ship with federation today is the cluster controller.`,
// Run runs the CMServer. This should never exit.
func Run(s *options.CMServer) error {
glog.Infof("%+v", version.Get())
if c, err := configz.New("componentconfig"); err == nil {
c.Set(s.ControllerManagerConfiguration)
} else {