awslabs / mountpoint-s3-csi-driver

Built on Mountpoint for Amazon S3, the Mountpoint CSI driver presents an Amazon S3 bucket as a storage volume accessible by containers in your Kubernetes cluster.
Apache License 2.0
193 stars 23 forks source link

Add retry to reading `/proc/mounts` #234

Closed unexge closed 2 months ago

unexge commented 2 months ago

Until we find the root cause of why reading /proc/mounts on newly spawned Karpenter/GPU nodes fails, we're adding retry mechanism to reading /proc/mounts as people reported that reading /proc/mounts works after retries. See https://github.com/awslabs/mountpoint-s3-csi-driver/issues/174

This originally contributed by @Shellmode, but since our CI is not properly set up yet, the original PR didn't triggered the CI. This PR is from a branch, and it should properly trigger the CI.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.