Comments (11)
Seeing this same issue, my (hopefully temporary) hack workaround was to add
- name: FLUENT_ELASTICSEARCH_USER
value: none
- name: FLUENT_ELASTICSEARCH_PASSWORD
value: none
to the container env section of the daemonset manifest.
from fluentd-kubernetes-daemonset.
@kfox1111, there is a pr in for the helm chart to do that helm/charts#5210
from fluentd-kubernetes-daemonset.
We got a similar problem when we tried to install multiple daemonsets (we are testing our a few log management systems like loggly and logz.io).
The error (when installing the 2nd daemonset) was sed: cannot rename /fluentd/etc/<id>: Device or resource busy
which should be from the sed
command on entrypoint.sh
.
It seems like that only Elasticsearch image that needs these 2 parameters, would it be possible to remove them for the other images?
from fluentd-kubernetes-daemonset.
Further, shouldn't the two conditionals in entrypoint.sh
us -n
instead of -z
?
from fluentd-kubernetes-daemonset.
@nrmitchi should add "-p /fluentd/plugins" under command to add the plugins
from fluentd-kubernetes-daemonset.
Good call; I'll probably switch to @rdpa 's solution which seems slightly more clean until it's fixed
from fluentd-kubernetes-daemonset.
You can use an init container to copy the configmap's data to an emptydir. I pull this trick all the time when I want to tweak the configmap in the pod during deployment.
from fluentd-kubernetes-daemonset.
Which approach is better for fixing this issue?
Modify entrypoint.sh or update daemonset yaml prototype with jpke's patch way?
from fluentd-kubernetes-daemonset.
Here is an example workaround the AWS EKS Workshop website suggests, using an init container similar to the helm chart approach.
https://eksworkshop.com/logging/deploy/
https://eksworkshop.com/logging/deploy.files/fluentd.yml
# 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
from fluentd-kubernetes-daemonset.
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
from fluentd-kubernetes-daemonset.
This issue was automatically closed because of stale in 30 days
from fluentd-kubernetes-daemonset.
Related Issues (20)
- Few pod logs are rejected by elasticsearch HOT 3
- operating systems with systemd 246 or above is not compatible with actual fluentd docker image. HOT 9
- Feature request: Add Format Elastic Common Schema (ECS) for EleasticConfig HOT 2
- Have installed daemonset but pod logs are not exporting HOT 1
- Loki output plugin addition HOT 3
- Tries to place lock file on read-only filesystem HOT 4
- Bump fluent-plugin-kubernetes_metadata_filter plugin version HOT 2
- Image of v1.16.2-debian-s3-amd64-1.0 version HOT 3
- `v1.16.2-debian-logzio-amd64-1.0` docker image fails to start due to missing Prometheus `require`
- It is not an issue but query HOT 2
- High CVEs found in latest Docker image "fluent/fluentd-kubernetes-daemonset:v1.16.2-debian-logzio-amd64-1.1" HOT 7
- High CVEs in fluent/fluentd-kubernetes-daemonset:v1.16.2-debian-forward-1.0 image HOT 2
- Missing fluent/fluentd-kubernetes-daemonset:v1.16.3-debian-s3-amd64-1.0 in Docker Hub HOT 5
- High CVEs in fluent/fluentd-kubernetes-daemonset:v1.16.2-debian-forward-1.0 image #1467 Issue HOT 5
- 42 CVEs(including Critical and High) found in latest Docker image "fluent/fluentd-kubernetes-daemonset:v1.16.3-debian-opensearch-1.0" HOT 5
- Fluentd not pushing latest logs from a specific namespace in Kubernetes HOT 2
- `free(): invalid pointer` with latest fluent/fluentd-kubernetes-daemonset:v1-debian-forward-arm64 image HOT 7
- Fluentd worker crashing on startup when connecting to Graylog HOT 9
- Support ILM settings for elasticsearch8 in /templates/conf/fluent.conf.erb HOT 2
- fluent/fluentd-kubernetes-daemonset:v1.16.3-debian-elasticsearch8-2.1 systemd plugin segementation fault causing log not send to the destination HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentd-kubernetes-daemonset.