mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Remove kubernetes metadata plugin
This commit is contained in:
@@ -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"
|
||||
|
||||
|
@@ -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 \
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user