Closed gsanchezgavier closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.94%. Comparing base (
8ce73d9
) to head (6e0e030
).:exclamation: Current head 6e0e030 differs from pull request most recent head 3457d78
Please upload reports for the commit 3457d78 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PR has been tested in #1068 All tests pass
Description
Infrastructure Agent captures Storage Samples of underlying nodes based on the mounted file system. Whenever a new pvc is mounted on the host, this mount needs to be propagated (
rslave
)to the mounted filesystem in the agent container.By default k8s uses
none
as mount propagation, and according to k8s docs depends on the CRI which propagation is usedrprivate
or in some cases like dockerrslave
.This PR configures the host file system volume to be mounted with
rslave
independently of the CRI. This fixes some miss behaving storage metrics samples where the device disk space of a newly mounted device has the value of the primary host storage ( and the issue was fixed upon Pod recreation)Type of change
Checklist: