Closed MartinEmrich closed 8 months ago
Providing another emptyDir in /home/fluent brings me back to https://github.com/fluent/fluentd-kubernetes-daemonset/issues/1393 :(
A workaround: use an initcontainer to chmod the directories, e.g:
...
initContainers:
- name: chmod-tempdirs
image: fluent/fluentd-kubernetes-daemonset:v1.16-debian-graylog-1
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
# runAsNonRoot: true
capabilities:
drop:
- all
command: "/bin/sh"
args:
- "-c"
- "chmod o-rwx /home/fluent /tmp"
volumeMounts:
- name: tmp
mountPath: /tmp
- name: homefluent
mountPath: /home/fluent
...
This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days
I won't bother with the (IMHO annoying) I-dont-care-github-bot... I switched to https://vector.dev/ .
After moving to 1.16 from 1.14, fluentd-graylog no longer starts.
I receive this message:
I run it on a read-only filesystem, but provide a writeable /tmp.
I would suggest that in a kubernetes pod, a lock file is unecessary.