You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the init image with custom s3 configuration files it is not possible anymore to start fluent bit in a readOnlyFilesystem environment using ECS Fargate.
It would be possible to mount volumns when the fluent_bit_init_process would clearly define a working directory which will be used to write files.
When we mount /init/ as a volumn this will wipe the folder leading to missing files.
When we only mount /init/fluent-bit-init-s3-files/ receive errors like:
time="2024-05-21T15:42:17Z" level=fatal msg="[FluentBit Init Process] Cannot create the file: /init/invoke_fluent_bit.sh\n"
Bug Report
When using the init image with custom s3 configuration files it is not possible anymore to start fluent bit in a readOnlyFilesystem environment using ECS Fargate.
https://github.com/aws/aws-for-fluent-bit/blob/mainline/init/fluent_bit_init_process.go writes various files into the file system.
It would be possible to mount volumns when the
fluent_bit_init_process
would clearly define a working directory which will be used to write files.When we mount
/init/
as a volumn this will wipe the folder leading to missing files.When we only mount
/init/fluent-bit-init-s3-files/
receive errors like:To Reproduce
Expected behavior
Screenshots
Your Environment
The text was updated successfully, but these errors were encountered: