diff --git a/pkg/kubelet/dockertools/docker.go b/pkg/kubelet/dockertools/docker.go index ecb2229b6df..3f88080bcfe 100644 --- a/pkg/kubelet/dockertools/docker.go +++ b/pkg/kubelet/dockertools/docker.go @@ -22,6 +22,7 @@ import ( "hash/adler32" "io" "math/rand" + "os" "os/exec" "sort" "strconv" @@ -82,8 +83,8 @@ func NewDockerPuller(client DockerInterface, qps float32, burst int) DockerPulle cfg, err := readDockerConfigFile() if err == nil { cfg.addToKeyring(dp.keyring) - } else { - glog.Errorf("Unable to parse Docker config file: %v", err) + } else if !os.IsNotExist(err) { + glog.V(1).Infof("Unable to parse Docker config file: %v", err) } if dp.keyring.count() == 0 { diff --git a/pkg/registry/minion/healthy_registry.go b/pkg/registry/minion/healthy_registry.go index 64e7831ec20..c04f115dc1c 100644 --- a/pkg/registry/minion/healthy_registry.go +++ b/pkg/registry/minion/healthy_registry.go @@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini for _, minion := range list.Items { status, err := health.DoHTTPCheck(r.makeMinionURL(minion.ID), r.client) if err != nil { - glog.Errorf("%#v failed health check with error: %s", minion, err) + glog.V(1).Infof("%#v failed health check with error: %s", minion, err) continue } if status == health.Healthy {