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

Is init container still needed? #76

Open
rittneje opened this issue May 12, 2021 · 0 comments
Open

Is init container still needed? #76

rittneje opened this issue May 12, 2021 · 0 comments

Comments

@rittneje
Copy link

rittneje commented May 12, 2021

According to the example yaml, we need to use an init container as a workaround for some issue in the fluentd image.

# Because the image's entrypoint requires to write on /fluentd/etc but we mount configmap there which is read-only,
# this initContainers workaround or other is needed.
# See https://github.com/fluent/fluentd-kubernetes-daemonset/issues/90
initContainers:
- name: copy-fluentd-config
image: busybox
command: ['sh', '-c', 'cp /config-volume/..data/* /fluentd/etc']
volumeMounts:
- name: config-volume
mountPath: /config-volume
- name: fluentdconf
mountPath: /fluentd/etc

However, we are not observing any problems without this init container, and based on this issue I think this may have been fixed long ago. fluent/fluentd-kubernetes-daemonset#161

Is this init container still needed? If not can it be removed from the example yaml?

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