Merge pull request #113107 from dims/bump-apiserver-healthz-upper-log-verbosity
Bump log level for health check warning for missing components Kubernetes-commit: 7c6821978da83bbb46412606b08871fb8665d12f
This commit is contained in:
commit
b1d724086f
|
@ -253,7 +253,7 @@ func handleRootHealth(name string, firstTimeHealthy func(), checks ...HealthChec
|
||||||
}
|
}
|
||||||
if excluded.Len() > 0 {
|
if excluded.Len() > 0 {
|
||||||
fmt.Fprintf(&individualCheckOutput, "warn: some health checks cannot be excluded: no matches for %s\n", formatQuoted(excluded.List()...))
|
fmt.Fprintf(&individualCheckOutput, "warn: some health checks cannot be excluded: no matches for %s\n", formatQuoted(excluded.List()...))
|
||||||
klog.Warningf("cannot exclude some health checks, no health checks are installed matching %s",
|
klog.V(6).Infof("cannot exclude some health checks, no health checks are installed matching %s",
|
||||||
formatQuoted(excluded.List()...))
|
formatQuoted(excluded.List()...))
|
||||||
}
|
}
|
||||||
// always be verbose on failure
|
// always be verbose on failure
|
||||||
|
|
Loading…
Reference in New Issue