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
83df5b84
Commit
83df5b84
authored
Jan 17, 2017
by
Mik Vyatskov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove library copying from fluentd image
parent
0bd13332
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
22 deletions
+6
-22
fluentd-gcp-ds.yaml
cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
+4
-9
Makefile
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
+1
-1
run.sh
cluster/addons/fluentd-gcp/fluentd-gcp-image/run.sh
+0
-6
fluentd-gcp.yaml
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
+1
-6
No files found.
cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
View file @
83df5b84
...
...
@@ -2,23 +2,23 @@
apiVersion
:
extensions/v1beta1
kind
:
DaemonSet
metadata
:
name
:
fluentd-gcp-v1.3
1
name
:
fluentd-gcp-v1.3
3
namespace
:
kube-system
labels
:
k8s-app
:
fluentd-gcp
kubernetes.io/cluster-service
:
"
true"
version
:
v1.3
1
version
:
v1.3
3
spec
:
template
:
metadata
:
labels
:
k8s-app
:
fluentd-gcp
kubernetes.io/cluster-service
:
"
true"
version
:
v1.3
1
version
:
v1.3
3
spec
:
containers
:
-
name
:
fluentd-gcp
image
:
gcr.io/google_containers/fluentd-gcp:1.3
2
image
:
gcr.io/google_containers/fluentd-gcp:1.3
3
# If fluentd consumes its own logs, the following situation may happen:
# fluentd fails to send a chunk to the server => writes it to the log =>
# tries to send this message to the server => fails to send a chunk and so on.
...
...
@@ -40,8 +40,6 @@ spec:
-
name
:
varlibdockercontainers
mountPath
:
/var/lib/docker/containers
readOnly
:
true
-
name
:
libsystemddir
mountPath
:
/host/lib
# Liveness probe is aimed to help in situarions where fluentd
# silently hangs for no apparent reasons until manual restart.
# The idea of this probe is that if fluentd is not queueing or
...
...
@@ -84,6 +82,3 @@ spec:
-
name
:
varlibdockercontainers
hostPath
:
path
:
/var/lib/docker/containers
-
name
:
libsystemddir
hostPath
:
path
:
/usr/lib64
cluster/addons/fluentd-gcp/fluentd-gcp-image/Makefile
View file @
83df5b84
...
...
@@ -26,7 +26,7 @@
.PHONY
:
build push
PREFIX
=
gcr.io/google_containers
TAG
=
1.3
2
TAG
=
1.3
3
build
:
docker build
--pull
-t
$(PREFIX)
/fluentd-gcp:
$(TAG)
.
...
...
cluster/addons/fluentd-gcp/fluentd-gcp-image/run.sh
View file @
83df5b84
...
...
@@ -17,12 +17,6 @@
# For systems without journald
mkdir
-p
/var/log/journal
if
[
-e
/host/lib/libsystemd
*
]
then
rm
/lib/x86_64-linux-gnu/libsystemd
*
cp
/host/lib/libsystemd
*
/lib/x86_64-linux-gnu/
fi
LD_PRELOAD
=
/opt/td-agent/embedded/lib/libjemalloc.so
RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR
=
0.9
...
...
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
View file @
83df5b84
...
...
@@ -10,7 +10,7 @@ spec:
dnsPolicy
:
Default
containers
:
-
name
:
fluentd-cloud-logging
image
:
gcr.io/google_containers/fluentd-gcp:1.3
2
image
:
gcr.io/google_containers/fluentd-gcp:1.3
3
# If fluentd consumes its own logs, the following situation may happen:
# fluentd fails to send a chunk to the server => writes it to the log =>
# tries to send this message to the server => fails to send a chunk and so on.
...
...
@@ -34,8 +34,6 @@ spec:
-
name
:
varlibdockercontainers
mountPath
:
/var/lib/docker/containers
readOnly
:
true
-
name
:
libsystemddir
mountPath
:
/host/lib
# Liveness probe is aimed to help in situarions where fluentd
# silently hangs for no apparent reasons until manual restart.
# The idea of this probe is that if fluentd is not queueing or
...
...
@@ -63,6 +61,3 @@ spec:
-
name
:
varlibdockercontainers
hostPath
:
path
:
/var/lib/docker/containers
-
name
:
libsystemddir
hostPath
:
path
:
/usr/lib64
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