Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
20a0905d
Commit
20a0905d
authored
Apr 27, 2015
by
Satnam Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New Fluentd to Cloud Logging Dockerfile with args
parent
39c5bf36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Dockerfile
cluster/addons/fluentd-gcp/fluentd-gcp-image/Dockerfile
+2
-3
Makefile
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
+1
-1
google-fluentd.conf
.../addons/fluentd-gcp/fluentd-gcp-image/google-fluentd.conf
+1
-1
No files found.
cluster/addons/fluentd-gcp/fluentd-gcp-image/Dockerfile
View file @
20a0905d
...
...
@@ -11,10 +11,9 @@ MAINTAINER Satnam Singh "satnam@google.com"
# Disable prompts from apt.
ENV
DEBIAN_FRONTEND noninteractive
ENV
OPTS_APT -y --force-yes --no-install-recommends
RUN
apt-get
-q
update
&&
\
apt-get
-y
install
curl
&&
\
apt-get
install
-y
curl
&&
\
apt-get clean
&&
\
curl
-s
https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh |
sudo
bash
...
...
@@ -22,4 +21,4 @@ RUN apt-get -q update && \
COPY
google-fluentd.conf /etc/google-fluentd/google-fluentd.conf
# Start Fluentd to pick up our config that watches Docker container logs.
CMD
/usr/sbin/google-fluentd
-qq
> /var/log/google-fluentd.log
CMD
/usr/sbin/google-fluentd
"$FLUENTD_ARGS"
> /var/log/google-fluentd.log
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
View file @
20a0905d
...
...
@@ -6,7 +6,7 @@
.PHONY
:
build push
TAG
=
1.
3
TAG
=
1.
4
build
:
docker build
-t
gcr.io/google_containers/fluentd-gcp:
$(TAG)
.
...
...
cluster/addons/fluentd-gcp/fluentd-gcp-image/google-fluentd.conf
View file @
20a0905d
...
...
@@ -16,7 +16,7 @@
type
tail
format
none
time_key
time
path
/
varlog
/
containers
/*
/*
.
log
path
/
varlog
/
containers
/*.
log
pos_file
/
varlog
/
gcp
-
containers
.
log
.
pos
time_format
%
Y
-%
m
-%
dT
%
H
:%
M
:%
S
tag
kubernetes
.*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment