From 44086aee87fd06ca03bac19c4b002e05777d3db0 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Wed, 9 May 2018 15:01:53 +0800 Subject: Add support for node level logging Change-Id: Ib5b2240de3276164fe9e272bf36f0d1f89f409c0 Signed-off-by: Yujun Zhang --- docs/development/design/logging.rst | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'docs/development') diff --git a/docs/development/design/logging.rst b/docs/development/design/logging.rst index 5fbaeb9..2c2dfe6 100644 --- a/docs/development/design/logging.rst +++ b/docs/development/design/logging.rst @@ -14,19 +14,23 @@ First, install logging stack Elasticsearch, Fluentd and Kibana:: kubectl apply -f install/logging-stack.yaml -Then configure fluentd for istio:: - - kubectl apply -f install/fluentd-istio.yaml - -Note that, it must be done in two steps. If you run ``kubectl apply -f install`` -instead, the mixer adapter may fail to intialize because the target service can -not be found. You may find an error message from mixer container:: +Note that, it must be done in separated steps. If you run ``kubectl apply -f +install`` instead, the mixer adapter may fail to intialize because the target +service can not be found. You may find an error message from mixer container:: 2018-05-09T02:43:14.435156Z error Unable to initialize adapter: snapshot='6', handler='handler.fluentd.istio-system', adapter='fluentd', err='adapter instantiation error: dial tcp: lookup fluentd-es.logging on 10.96.0.10:53: no such host'. +Then configure fluentd for istio:: + + kubectl apply -f install/fluentd-istio.yaml + +Configure fluentd for node level logging:: + + kubectl apply -f install/fluentd-daemonset-elasticsearch-rbac.yaml + .. _sample configuration: https://istio.io/docs/tasks/telemetry/fluentd.html ******** -- cgit 1.2.3-korg