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
5b5525dc
Commit
5b5525dc
authored
Apr 28, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7324 from vishh/log_scope
Enable logging.write scope for minions.
parents
d327ba77
9c66305f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
config-default.sh
cluster/gce/config-default.sh
+1
-1
config-test.sh
cluster/gce/config-test.sh
+1
-1
util.sh
cluster/gce/util.sh
+0
-4
No files found.
cluster/gce/config-default.sh
View file @
5b5525dc
...
...
@@ -76,7 +76,7 @@ done
CLUSTER_IP_RANGE="
${
KUBE_GCE_CLUSTER_CLASS_B
:-
10
.244
}
.0.0/16"
MINION_IP_RANGES=(
$(
eval echo
"
${
subnets
[@]
}
"
)
)
MINION_SCOPES=("storage-ro" "compute-rw" "https://www.googleapis.com/auth/monitoring")
MINION_SCOPES=("storage-ro" "compute-rw" "https://www.googleapis.com/auth/monitoring"
"https://www.googleapis.com/auth/logging-write"
)
# Increase the sleep interval value if concerned about API rate limits. 3, in seconds, is the default.
POLL_SLEEP_INTERVAL=3
PORTAL_NET="10.0.0.0/16"
...
...
cluster/gce/config-test.sh
View file @
5b5525dc
...
...
@@ -36,7 +36,7 @@ MINION_TAG="${INSTANCE_PREFIX}-minion"
CLUSTER_IP_RANGE
=
"
${
KUBE_GCE_CLUSTER_CLASS_B
:-
10
.245
}
.0.0/16"
MINION_IP_RANGES
=(
$(
eval echo
"
${
KUBE_GCE_CLUSTER_CLASS_B
:-
10
.245
}
.{1..
${
NUM_MINIONS
}
}.0/24"
)
)
MASTER_IP_RANGE
=
"
${
MASTER_IP_RANGE
:-
10
.246.0.0/24
}
"
MINION_SCOPES
=(
"storage-ro"
"compute-rw"
)
MINION_SCOPES
=(
"storage-ro"
"compute-rw"
"https://www.googleapis.com/auth/logging-write"
"https://www.googleapis.com/auth/monitoring"
)
# Increase the sleep interval value if concerned about API rate limits. 3, in seconds, is the default.
POLL_SLEEP_INTERVAL
=
3
PORTAL_NET
=
"10.0.0.0/16"
...
...
cluster/gce/util.sh
View file @
5b5525dc
...
...
@@ -607,10 +607,6 @@ function kube-up {
# Report logging choice (if any).
if
[[
"
${
ENABLE_NODE_LOGGING
-
}
"
==
"true"
]]
;
then
echo
"+++ Logging using Fluentd to
${
LOGGING_DESTINATION
:-
unknown
}
"
# For logging to GCP we need to enable some minion scopes.
if
[[
"
${
LOGGING_DESTINATION
-
}
"
==
"gcp"
]]
;
then
MINION_SCOPES+
=(
'https://www.googleapis.com/auth/logging.write'
)
fi
fi
# Wait for last batch of jobs
...
...
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