{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23195","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23195/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23195/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23195/events","html_url":"https://github.com/kubernetes/kubernetes/issues/23195","id":141923573,"number":23195,"title":"Allow tuning of fluentd configuration without building new images","user":{"login":"therc","id":13481082,"avatar_url":"https://avatars.githubusercontent.com/u/13481082?v=3","gravatar_id":"","url":"https://api.github.com/users/therc","html_url":"https://github.com/therc","followers_url":"https://api.github.com/users/therc/followers","following_url":"https://api.github.com/users/therc/following{/other_user}","gists_url":"https://api.github.com/users/therc/gists{/gist_id}","starred_url":"https://api.github.com/users/therc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therc/subscriptions","organizations_url":"https://api.github.com/users/therc/orgs","repos_url":"https://api.github.com/users/therc/repos","events_url":"https://api.github.com/users/therc/events{/privacy}","received_events_url":"https://api.github.com/users/therc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T16:57:40Z","updated_at":"2016-03-21T21:22:54Z","closed_at":null,"body":"There are several knobs in the plugins used by the fluentd setups, but none of them are exposed to users of the images. It would be great to have that, without requiring custom images: they're more work, tend to rot, etc.\r\n\r\nI noticed that td-agent.conf supports an `@ include` directive. Would that work, along with drop-in files in e.g. /etc/td-agent/conf.d/? Is there a way perhaps to inject environment variables into configurations? I can help with PRs once there's agreement on which approach to choose.\r\n\r\ncc @a-robinson @jimmidyson "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/199492299","html_url":"https://github.com/kubernetes/kubernetes/issues/23195#issuecomment-199492299","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23195","id":199492299,"user":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T21:22:54Z","updated_at":"2016-03-21T21:22:54Z","body":"We'll have to work out the specifics, but I'd be a huge fan of making it more configurable through file includes or environment variables. Would you be up for figuring out a proposal?\r\n\r\nAs an (out of date) example of one option, last year I crafted [fluentd images](https://github.com/kubernetes/contrib/tree/master/logging/fluentd-sidecar-gcp) that could be used as sidecar containers in pods by specifying the file paths to collect from as environment variables. Not that I'd necessarily recommend doing it that way :)"}}