Skip to content

Conversation

@gman0
Copy link
Collaborator

@gman0 gman0 commented Aug 11, 2023

This commit makes it so that the nodeplugin shares its internal /cvmfs autofs root via a hostPath instead of an emptyDir.

kubelet periodically scrapes metrics from all emptyDir volumes by walking trough them recursively, stat()-ing each item. This however resets the autofs mount expiry timeout, making it impossible to automatically unmount unused CVMFS repos. The workaround for this is to share /cvmfs via a hostPath which is not included by the metrics, avoiding the issue.

Cherry-pick 19c68b7 (#104).

This commit makes it so that the nodeplugin shares its internal
/cvmfs autofs root via a hostPath instead of an emptyDir.

kubelet periodically scrapes metrics from all emptyDir volumes by
walking trough them recursively, stat()-ing each item. This however
resets the autofs mount expiry timeout, making it impossible to
automatically unmount unused CVMFS repos. The workaround for this is
to share /cvmfs via a hostPath which is not included by the metrics,
avoiding the issue.
@gman0 gman0 merged commit fc84a9c into cvmfs-contrib:release-2.2 Aug 11, 2023
@gman0 gman0 deleted the backport-pr-104 branch August 11, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant