Improve kubelet logging around startup. This might help detect any lockup issues during startup.

This commit is contained in:
Vishnu Kannan
2015-04-08 20:57:19 +00:00
parent 7f4791c34b
commit 2b5cad6acf
4 changed files with 5 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ type TLSOptions struct {
// ListenAndServeKubeletServer initializes a server to respond to HTTP network requests on the Kubelet.
func ListenAndServeKubeletServer(host HostInterface, address net.IP, port uint, tlsOptions *TLSOptions, enableDebuggingHandlers bool) {
glog.V(1).Infof("Starting to listen on %s:%d", address, port)
glog.Infof("Starting to listen on %s:%d", address, port)
handler := NewServer(host, enableDebuggingHandlers)
s := &http.Server{
Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)),