mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
ConsistentRead tries 10 times
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.
This commit is contained in:
parent
1d16f934b9
commit
82cfe9f14f
@ -32,7 +32,7 @@ const (
|
|||||||
// At least number of fields per line in /proc/<pid>/mountinfo.
|
// At least number of fields per line in /proc/<pid>/mountinfo.
|
||||||
expectedAtLeastNumFieldsPerMountInfo = 10
|
expectedAtLeastNumFieldsPerMountInfo = 10
|
||||||
// How many times to retry for a consistent read of /proc/mounts.
|
// 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
|
// IsCorruptedMnt return true if err is about corrupted mount point
|
||||||
|
Loading…
Reference in New Issue
Block a user