Skip to content
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

Need of extra volume mount for sidecar container #160

Open
hyffrank opened this issue Mar 5, 2021 · 0 comments
Open

Need of extra volume mount for sidecar container #160

hyffrank opened this issue Mar 5, 2021 · 0 comments

Comments

@hyffrank
Copy link

hyffrank commented Mar 5, 2021

The injected sidecar container now contains only one "emptyDir" which is used to share data between containers inside pods. One requirement is that when user define output module of Fluentd/FluentBit as "File", extra volume mount could be defined in annotation so that the injector could assign these volume mounts for sidecar to use.

Expected behavior:
Putting annotation [fluentd-sidecar-injector.h3poteto.dev/extra-volumemount: 'my_mount'] and [fluentd-sidecar-injector.h3poteto.dev/extra-mountpath: '/var/log/app'] on manifest results in below volumemount in sidecar:

spec:
volumeMounts:
- name: my_mount
mountPath: /var/log/app

@hyffrank hyffrank changed the title Need for extra volume mount for sidecar container Need of extra volume mount for sidecar container Mar 5, 2021
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

No branches or pull requests

1 participant