mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Enable logging.write scope by default for nodes. This is required for storing events in
Google Cloud Logging via heapster.
This commit is contained in:
@@ -605,10 +605,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
|
||||
|
Reference in New Issue
Block a user