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
2dea8a8f
Commit
2dea8a8f
authored
Nov 04, 2016
by
Piotr Szczesniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made fluentd-gcl config consitent for GCI and ContainerVM
parent
f64253a8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
11 deletions
+5
-11
release.sh
build-tools/lib/release.sh
+1
-0
README.md
cluster/addons/gci/README.md
+0
-7
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+1
-1
fluentd-gcp-gci.yaml
cluster/saltbase/salt/fluentd-gcp-gci/fluentd-gcp-gci.yaml
+2
-2
fluentd-gcp.yaml
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
+1
-1
No files found.
build-tools/lib/release.sh
View file @
2dea8a8f
...
...
@@ -307,6 +307,7 @@ function kube::release::package_kube_manifests_tarball() {
cp
"
${
salt_dir
}
/cluster-autoscaler/cluster-autoscaler.manifest"
"
${
dst_dir
}
/"
cp
"
${
salt_dir
}
/fluentd-es/fluentd-es.yaml"
"
${
release_stage
}
/"
cp
"
${
salt_dir
}
/fluentd-gcp/fluentd-gcp.yaml"
"
${
release_stage
}
/"
cp
"
${
salt_dir
}
/fluentd-gcp-gci/fluentd-gcp-gci.yaml"
"
${
release_stage
}
/"
cp
"
${
salt_dir
}
/kube-registry-proxy/kube-registry-proxy.yaml"
"
${
release_stage
}
/"
cp
"
${
salt_dir
}
/kube-proxy/kube-proxy.manifest"
"
${
release_stage
}
/"
cp
"
${
salt_dir
}
/etcd/etcd.manifest"
"
${
dst_dir
}
"
...
...
cluster/addons/gci/README.md
deleted
100644 → 0
View file @
f64253a8
Some addons need to be configured slightly differently when running on the
Google ContainerVM Image (GCI). This directory serves as a place to store yaml
manifests that need to differ slightly from the ones under
`cluster/saltbase/salt`
.
[

]()
cluster/gce/gci/configure-helper.sh
View file @
2dea8a8f
...
...
@@ -1081,7 +1081,7 @@ function start-fluentd {
echo
"Start fluentd pod"
if
[[
"
${
ENABLE_NODE_LOGGING
:-}
"
==
"true"
]]
;
then
if
[[
"
${
LOGGING_DESTINATION
:-}
"
==
"gcp"
]]
;
then
cp
"
${
KUBE_HOME
}
/kube-manifests/kubernetes/
gci-trusty/gci/fluentd-gcp
.yaml"
/etc/kubernetes/manifests/
cp
"
${
KUBE_HOME
}
/kube-manifests/kubernetes/
fluentd-gcp-gci
.yaml"
/etc/kubernetes/manifests/
elif
[[
"
${
LOGGING_DESTINATION
:-}
"
==
"elasticsearch"
&&
"
${
KUBERNETES_MASTER
:-}
"
!=
"true"
]]
;
then
# Running fluentd-es on the master is pointless, as it can't communicate
# with elasticsearch from there in the default configuration.
...
...
cluster/
addons/gci/fluentd-gcp
.yaml
→
cluster/
saltbase/salt/fluentd-gcp-gci/fluentd-gcp-gci
.yaml
View file @
2dea8a8f
...
...
@@ -11,7 +11,7 @@ spec:
dnsPolicy
:
Default
containers
:
-
name
:
fluentd-cloud-logging
image
:
gcr.io/google_containers/fluentd-gcp:1.2
1
image
:
gcr.io/google_containers/fluentd-gcp:1.2
5
command
:
-
'
/bin/sh'
-
'
-c'
...
...
@@ -25,7 +25,7 @@ spec:
requests
:
# Any change here should be accompanied by a proportional change in CPU
# requests of other per-node add-ons (e.g. kube-proxy).
cpu
:
8
0m
cpu
:
10
0m
memory
:
200Mi
volumeMounts
:
-
name
:
varlog
...
...
cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
View file @
2dea8a8f
# This config should be kept as similar as possible to the one at
# cluster/
addons/gci/fluentd-gcp
.yaml
# cluster/
saltbase/salt/fluentd-gcp-gci/fluentd-gcp-gci
.yaml
apiVersion
:
v1
kind
:
Pod
metadata
:
...
...
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