rust-lang / docker-rust

The official Docker images for Rust
438 stars 88 forks source link

Sensor not detecting events in kubernetes mount #118

Open happy-machine opened 1 year ago

happy-machine commented 1 year ago

Hi

I've tried several flavours of container, the official rust container (latest stable), alpine and ubuntu 18. Im mounting an EFS volume inside the container im running notify in using Amazon EKS kubernetes 1.20

If i exec into the container seperately i can get an event when i add a file (or do anything as normal) into the mounted volume from inside the container, but if i try to add a file to the mounted volume from another machine which has the volume mounted i get no event.

This also doesnt work if i exec into a different container with the same mount.

Does anyone know why this is the case / what i can do to try and fix it? i need to watch the contents of EFS for files that are uploaded using sftp.

Thanks