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:
Kubernetes Publisher 2022-10-18 09:17:31 -07:00
commit b1d724086f
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ func handleRootHealth(name string, firstTimeHealthy func(), checks ...HealthChec
}
if excluded.Len() > 0 {
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()...))
}
// always be verbose on failure