Remove kubernetes metadata plugin

This commit is contained in:
Manuel de Brito Fontes
2016-08-01 17:47:04 -04:00
parent 5753a3196c
commit e2c50152dd
7 changed files with 12 additions and 10 deletions

View File

@@ -22,7 +22,7 @@
# Please see http://docs.fluentd.org/articles/install-by-deb for more
# information about installing fluentd using deb package.
FROM gcr.io/google_containers/ubuntu-slim:0.3
FROM gcr.io/google_containers/ubuntu-slim:0.4
MAINTAINER Alex Robinson "arob@google.com"
MAINTAINER Jimmi Dyson "jimmidyson@gmail.com"

View File

@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2016 The Kubernetes Authors All rights reserved.
# Copyright 2015 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -29,7 +29,9 @@ apt-get install -y -q --no-install-recommends \
sed -i -e "s/USER=td-agent/USER=root/" -e "s/GROUP=td-agent/GROUP=root/" /etc/init.d/td-agent
# Install the Elasticsearch Fluentd plug-in.
td-agent-gem install fluent-plugin-kubernetes_metadata_filter fluent-plugin-elasticsearch
# http://docs.fluentd.org/articles/plugin-management
td-agent-gem install --no-document fluent-plugin-kubernetes_metadata_filter -v 0.24.0
td-agent-gem install --no-document fluent-plugin-elasticsearch -v 1.5.0
# Remove docs and postgres references
rm -rf /opt/td-agent/embedded/share/doc \

View File

@@ -218,9 +218,9 @@
tag kube-scheduler
</source>
<filter kubernetes.**>
type kubernetes_metadata
</filter>
#<filter kubernetes.**>
# type kubernetes_metadata
#</filter>
# Example:
# I0603 15:31:05.793605 6 cluster_manager.go:230] Reading config from path /etc/gce.conf