-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Gathering Docker log files with fluentd, sending to Elasticsearch, viewing with Kibana #1562
Conversation
I'll review in depth later, but I am not sure we want to push fluentd to On Thu, Oct 2, 2014 at 11:43 PM, Satnam Singh [email protected]
|
I was thinking about opening a discussion thread about this. I was also wondering how to plug in a different collector e.g. using other Satnam On 3 October 2014 08:54, Tim Hockin [email protected] wrote:
Satnam Singh |
We can make this optional by defining a saltstack pillar value and conditionally including it or not in top.sls based on that pillar. We would then be able to create that pillar value or not based on env variables/options when kube-up is called. This is all pretty salt specific though. The mechanism for someone using fleet or something to install kubernetes will be different. |
Other options to consider:
|
Turning on fluentd is really a cluster-admin decision - it isn't really Given that, I really think it's something that cluster-setup should offer, On Fri, Oct 3, 2014 at 10:02 AM, Satnam Singh [email protected]
|
I suspect you are rubbing salt into my wounds. On Sat, Oct 4, 2014 at 10:20 PM, Tim Hockin [email protected]
|
I don't know if you're actually unhappy with that reply or not - too dry On Sun, Oct 5, 2014 at 3:06 AM, Satnam Singh [email protected]
|
I am always looking for a cheap shot. S On Mon, Oct 6, 2014 at 11:34 AM, Tim Hockin [email protected]
|
I will abandon this PR and replace it with another one that has a ELK loggic scenario where there is a fluentd in the pod specification rather than baking it in with salt. |
fix typos in storage docs
This pull request includes changes to the Salt setup to add a fluentd instance to each node. This fluentd instance will try to send the logs it has gather from the local Dockerfiles to port 9200 of the enclosing machine (e.g. a GCE VM).
The contrib/loggimng directory has an example scenario that contains a simple web server (pod specification, service specification), Elasticsearch (pod and service specification) and Kibana (pod and service specification). It also contains the Dockerfile used for the fluentd manifest that is deployed by salt.