Skip to content

Commit

Permalink
ConsistentRead tries 10 times
Browse files Browse the repository at this point in the history
We've seen clusters where 3 attempts were not enough. Bumping to 10. The
slowdown should be negligible and it will reduce retry attempts in the
upper layers of kubelet.
  • Loading branch information
jsafrane committed May 26, 2021
1 parent 1d16f93 commit 82cfe9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging/src/k8s.io/mount-utils/mount_helper_unix.go
Expand Up @@ -32,7 +32,7 @@ const (
// At least number of fields per line in /proc/<pid>/mountinfo.
expectedAtLeastNumFieldsPerMountInfo = 10
// How many times to retry for a consistent read of /proc/mounts.
maxListTries = 3
maxListTries = 10
)

// IsCorruptedMnt return true if err is about corrupted mount point
Expand Down

0 comments on commit 82cfe9f

Please sign in to comment.