Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Feature request: Create branch or repo using fluentd driver instead of tailing logs #9

Open
ryanwalls opened this issue Feb 7, 2017 · 4 comments

Comments

@ryanwalls
Copy link

Would love to see an example where containers on a k8s cluster are set to use the fluentd logging driver.

@stevezau
Copy link
Contributor

stevezau commented Feb 7, 2017

I'm not sure this will work as we require the container ID to query kubernetes metadata from the master. Does that exist in the fluentd logging driver?

@ryanwalls
Copy link
Author

@stevezau Yep, see https://docs.docker.com/engine/admin/logging/log_tags. Maybe could also use the k8s downward api, https://kubernetes.io/docs/user-guide/downward-api instead of querying the k8s api.

@stevezau
Copy link
Contributor

stevezau commented Feb 7, 2017

It could work, just need to be able to work with https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter

we are open to a PR if you want to give it a go?

@ryanwalls
Copy link
Author

@stevezau In the middle of a big push at work, but will keep it on my "to do" list for later this month.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants