Merge pull request #112650 from rphillips/fixes/112124

kubelet: increase log level for "Path does not exist" in kubelet_getters
This commit is contained in:
Kubernetes Prow Robot 2022-09-21 15:55:13 -07:00 committed by GitHub
commit cdbb15c802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ func (kl *Kubelet) getPodVolumePathListFromDisk(podUID types.UID) ([]string, err
if pathExists, pathErr := mount.PathExists(podVolDir); pathErr != nil {
return volumes, fmt.Errorf("error checking if path %q exists: %v", podVolDir, pathErr)
} else if !pathExists {
klog.InfoS("Path does not exist", "path", podVolDir)
klog.V(6).InfoS("Path does not exist", "path", podVolDir)
return volumes, nil
}