mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #113107 from dims/bump-apiserver-healthz-upper-log-verbosity
Bump log level for health check warning for missing components
This commit is contained in:
commit
7c6821978d
@ -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
Block a user