-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance degradation of NFS after upgrading Kubernetes from 1.20 to 1.22 #3349
Comments
related issue & pr: @pacoxu PTAL |
https://github.com/kubernetes/kubernetes/blob/v1.20.0/go.mod#L56C29-L56C29 diff in v0.38.5...v0.39.4 |
For one nfs device, the information about used and available in different directory should be unified. For the same nfs device, cadvisor can stat nfs device once and reuse it's info in |
After upgrading our Kubernetes cluster from version 1.20 to 1.22, we have observed a version discrepancy, which is manifested in the form of a decrease in NFS performance. After some investigation, we suspect it might be related to this change:
#2787
To provide a brief description of our environment, our cluster has nearly 10,000 Pods, all of which are using the same NAS service via PV. On a single node, we can have more than 400 nfs mountpoints. Currently, the metrics collection includes NFS mount points, leading to a large number of statfs operations and consequently, slow NFS metadata operations.
Would it be possible to adjust the metrics collection for mountpoints so that data is only collected once for the same device?
The text was updated successfully, but these errors were encountered: