mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Move error about connecting to healthz server to V(1)
This commit is contained in:
parent
8261caedcb
commit
0bccce4520
@ -22,6 +22,7 @@ import (
|
|||||||
"hash/adler32"
|
"hash/adler32"
|
||||||
"io"
|
"io"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
@ -82,8 +83,8 @@ func NewDockerPuller(client DockerInterface, qps float32, burst int) DockerPulle
|
|||||||
cfg, err := readDockerConfigFile()
|
cfg, err := readDockerConfigFile()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
cfg.addToKeyring(dp.keyring)
|
cfg.addToKeyring(dp.keyring)
|
||||||
} else {
|
} else if !os.IsNotExist(err) {
|
||||||
glog.Errorf("Unable to parse Docker config file: %v", err)
|
glog.V(1).Infof("Unable to parse Docker config file: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if dp.keyring.count() == 0 {
|
if dp.keyring.count() == 0 {
|
||||||
|
@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini
|
|||||||
for _, minion := range list.Items {
|
for _, minion := range list.Items {
|
||||||
status, err := health.DoHTTPCheck(r.makeMinionURL(minion.ID), r.client)
|
status, err := health.DoHTTPCheck(r.makeMinionURL(minion.ID), r.client)
|
||||||
if err != nil {
|
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
|
continue
|
||||||
}
|
}
|
||||||
if status == health.Healthy {
|
if status == health.Healthy {
|
||||||
|
Loading…
Reference in New Issue
Block a user