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
714b39f0
Commit
714b39f0
authored
Aug 04, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12240 from a-robinson/logs
Also collect the monit and salt logs in our fluentd configs
parents
aaaadfca
cc02e50f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
5 deletions
+37
-5
Makefile
...er/addons/fluentd-elasticsearch/fluentd-es-image/Makefile
+1
-1
td-agent.conf
...dons/fluentd-elasticsearch/fluentd-es-image/td-agent.conf
+16
-0
Makefile
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
+1
-1
google-fluentd.conf
.../addons/fluentd-gcp/fluentd-gcp-image/google-fluentd.conf
+16
-0
fluentd-es.yaml
cluster/saltbase/salt/fluentd-es/fluentd-es.yaml
+1
-1
fluentd-gcp.yaml
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
+1
-1
logging.md
docs/getting-started-guides/logging.md
+1
-1
No files found.
cluster/addons/fluentd-elasticsearch/fluentd-es-image/Makefile
View file @
714b39f0
.PHONY
:
build push
.PHONY
:
build push
IMAGE
=
fluentd-elasticsearch
IMAGE
=
fluentd-elasticsearch
TAG
=
1.
7
TAG
=
1.
8
build
:
build
:
docker build
-t
gcr.io/google_containers/
$(IMAGE)
:
$(TAG)
.
docker build
-t
gcr.io/google_containers/
$(IMAGE)
:
$(TAG)
.
...
...
cluster/addons/fluentd-elasticsearch/fluentd-es-image/td-agent.conf
View file @
714b39f0
...
@@ -81,6 +81,22 @@
...
@@ -81,6 +81,22 @@
<
source
>
<
source
>
type
tail
type
tail
format
none
format
none
path
/
varlog
/
monit
.
log
pos_file
/
varlog
/
gcp
-
monit
.
log
.
pos
tag
monit
</
source
>
<
source
>
type
tail
format
none
path
/
varlog
/
salt
/
minion
pos_file
/
varlog
/
gcp
-
salt
.
pos
tag
salt
</
source
>
<
source
>
type
tail
format
none
path
/
varlog
/
startupscript
.
log
path
/
varlog
/
startupscript
.
log
pos_file
/
varlog
/
es
-
startupscript
.
log
.
pos
pos_file
/
varlog
/
es
-
startupscript
.
log
.
pos
tag
startupscript
tag
startupscript
...
...
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
View file @
714b39f0
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.PHONY
:
kbuild kpush
.PHONY
:
kbuild kpush
TAG
=
1.1
0
TAG
=
1.1
1
# Rules for building the test image for deployment to Dockerhub with user kubernetes.
# Rules for building the test image for deployment to Dockerhub with user kubernetes.
...
...
cluster/addons/fluentd-gcp/fluentd-gcp-image/google-fluentd.conf
View file @
714b39f0
...
@@ -66,6 +66,22 @@
...
@@ -66,6 +66,22 @@
<
source
>
<
source
>
type
tail
type
tail
format
none
format
none
path
/
varlog
/
monit
.
log
pos_file
/
varlog
/
gcp
-
monit
.
log
.
pos
tag
monit
</
source
>
<
source
>
type
tail
format
none
path
/
varlog
/
salt
/
minion
pos_file
/
varlog
/
gcp
-
salt
.
pos
tag
salt
</
source
>
<
source
>
type
tail
format
none
path
/
varlog
/
startupscript
.
log
path
/
varlog
/
startupscript
.
log
pos_file
/
varlog
/
gcp
-
startupscript
.
log
.
pos
pos_file
/
varlog
/
gcp
-
startupscript
.
log
.
pos
tag
startupscript
tag
startupscript
...
...
cluster/saltbase/salt/fluentd-es/fluentd-es.yaml
View file @
714b39f0
...
@@ -6,7 +6,7 @@ metadata:
...
@@ -6,7 +6,7 @@ metadata:
spec
:
spec
:
containers
:
containers
:
-
name
:
fluentd-elasticsearch
-
name
:
fluentd-elasticsearch
image
:
gcr.io/google_containers/fluentd-elasticsearch:1.
7
image
:
gcr.io/google_containers/fluentd-elasticsearch:1.
8
resources
:
resources
:
limits
:
limits
:
cpu
:
100m
cpu
:
100m
...
...
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
View file @
714b39f0
...
@@ -6,7 +6,7 @@ metadata:
...
@@ -6,7 +6,7 @@ metadata:
spec
:
spec
:
containers
:
containers
:
-
name
:
fluentd-cloud-logging
-
name
:
fluentd-cloud-logging
image
:
gcr.io/google_containers/fluentd-gcp:1.1
0
image
:
gcr.io/google_containers/fluentd-gcp:1.1
1
resources
:
resources
:
limits
:
limits
:
cpu
:
100m
cpu
:
100m
...
...
docs/getting-started-guides/logging.md
View file @
714b39f0
...
@@ -169,7 +169,7 @@ metadata:
...
@@ -169,7 +169,7 @@ metadata:
spec
:
spec
:
containers
:
containers
:
-
name
:
fluentd-cloud-logging
-
name
:
fluentd-cloud-logging
image
:
gcr.io/google_containers/fluentd-gcp:1.1
0
image
:
gcr.io/google_containers/fluentd-gcp:1.1
1
resources
:
resources
:
limits
:
limits
:
cpu
:
100m
cpu
:
100m
...
...
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