diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-02-08 16:59:08 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-02-08 16:59:08 -0500 |
commit | 2b3af4a3d009e6eac172db437b1e701ec5004dc9 (patch) | |
tree | cb5b0a04027fcf84b2f114e7bb37b06a3a849fe2 /roles/fluentd_node/templates | |
parent | 4854cd42c4705e594c8c5fd8334c702a756c71af (diff) | |
download | openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.gz openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.bz2 openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.tar.xz openshift-2b3af4a3d009e6eac172db437b1e701ec5004dc9.zip |
Remove fluentd_master and fluentd_node roles.
Diffstat (limited to 'roles/fluentd_node/templates')
-rw-r--r-- | roles/fluentd_node/templates/kubernetes.conf.j2 | 53 | ||||
-rw-r--r-- | roles/fluentd_node/templates/td-agent.j2 | 2 |
2 files changed, 0 insertions, 55 deletions
diff --git a/roles/fluentd_node/templates/kubernetes.conf.j2 b/roles/fluentd_node/templates/kubernetes.conf.j2 deleted file mode 100644 index 5f1eecb20..000000000 --- a/roles/fluentd_node/templates/kubernetes.conf.j2 +++ /dev/null @@ -1,53 +0,0 @@ -<source> - type tail - path /var/lib/docker/containers/*/*-json.log - pos_file /var/log/td-agent/tmp/fluentd-docker.pos - time_format %Y-%m-%dT%H:%M:%S - tag docker.* - format json - read_from_head true -</source> - -<match docker.var.lib.docker.containers.*.*.log> - type kubernetes - container_id ${tag_parts[5]} - tag docker.${name} -</match> - -<match kubernetes> - type copy - - <store> - type forward - send_timeout 60s - recover_wait 10s - heartbeat_interval 1s - phi_threshold 16 - hard_timeout 60s - log_level trace - require_ack_response true - heartbeat_type tcp - - <server> - name {{groups['oo_first_master'][0]}} - host {{hostvars[groups['oo_first_master'][0]].openshift.common.hostname}} - port 24224 - weight 60 - </server> - - <secondary> - type file - path /var/log/td-agent/forward-failed - </secondary> - </store> - - <store> - type file - path /var/log/td-agent/containers.log - time_slice_format %Y%m%d - time_slice_wait 10m - time_format %Y%m%dT%H%M%S%z - compress gzip - utc - </store> -</match> diff --git a/roles/fluentd_node/templates/td-agent.j2 b/roles/fluentd_node/templates/td-agent.j2 deleted file mode 100644 index 7245e11ec..000000000 --- a/roles/fluentd_node/templates/td-agent.j2 +++ /dev/null @@ -1,2 +0,0 @@ -DAEMON_ARGS= -TD_AGENT_ARGS="/usr/sbin/td-agent --log /var/log/td-agent/td-agent.log --use-v1-config" |